Skip to content
New issue

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

Breaking change between 10.1.0 and 10.2.0 with regards to loading typescript #1427

Closed
devshorts opened this issue Aug 9, 2021 · 1 comment
Milestone

Comments

@devshorts
Copy link

Expected Behavior

That minor version bumps would be back compat and not cause hidden errors

Actual Behavior

circleci@49a06e581692:~/project/service$ npx ts-node
npx: installed 14 in 1.066s
Cannot find module 'typescript'
Require stack:
- /home/circleci/.npm/_npx/3711/lib/node_modules/ts-node/dist/index.js
- /home/circleci/.npm/_npx/3711/lib/node_modules/ts-node/dist/repl.js
- /home/circleci/.npm/_npx/3711/lib/node_modules/ts-node/dist/bin.js
circleci@49a06e581692:~/project/service$ npx ts-node@10.1.0
npx: installed 13 in 1.05s

Note how pulling in the latest ts-node fails with a cannot find module 'typescript' (even though its there) but 10.1.0 works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants