We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts-node
print '???' in terminal
pnpm i
pnpm start
https://github.com/wbxl2000/ts-esm-test
{ "compilerOptions": { "module": "ESNext" // or ES2015, ES2020 }, "ts-node": { // Tell ts-node CLI to install the --loader automatically, explained below "esm": true } }
{ "name": "ts-node-test", "version": "1.0.0", "description": "", "type": "module", "scripts": { "start": "ts-node ./test.ts" }, "keywords": [], "author": "", "license": "ISC", "devDependencies": { "ts-node": "^10.9.1", "typescript": "^5.1.6" } }
same to above
{}
The text was updated successfully, but these errors were encountered:
After switching to nodejs 16, I was able to execute it normally. But why is that?
Sorry, something went wrong.
Seems to be duplicated with #1997
No branches or pull requests
Search Terms
ts-node
fails when ES Modules are in the dependency graph in Node.js 13+ #935Expected Behavior
print '???' in terminal
Actual Behavior
Steps to reproduce the problem
pnpm i
pnpm start
Minimal reproduction
https://github.com/wbxl2000/ts-esm-test
Specifications
Minimal reproduction
same to above
Specifications
The text was updated successfully, but these errors were encountered: