Doesn't work without tsconfig (v3.3.0 regression)
flytaly opened this issue · comments
Vitaly Yerofeyevsky commented
If there is no tsconfig.json file somewhere in the tree node -r esbuild-register
hangs and then throw an error
node:path:1166
join(...args) {
^
RangeError: Maximum call stack size exceeded
at Object.join (node:path:1166:7)
at walkForTsConfig
Noticed it today when esno stopped working for me in some directories.
EGOIST commented
cc @hanayashiki
wang chenyu commented
Seems to be a problem with tsconfig-paths...
EGOIST commented
🎉 This issue has been resolved in version 3.3.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
EGOIST commented
Turns out replacing loadConfig('.')
with loadConfig()
or loadConfig(process.cwd())
fixed it 🥶