-
-
Notifications
You must be signed in to change notification settings - Fork 541
Closed
Milestone
Description
We have been using npx ts-node
to run a specific script for quite some while now, and with update 10.2.0 that script started to fail.
Expected Behavior
Script works.
Actual Behavior
Cannot find module 'typescript'
Require stack:
- /home/runner/.npm/_npx/2763/lib/node_modules/ts-node/dist/index.js
- /home/runner/.npm/_npx/2763/lib/node_modules/ts-node/dist/repl.js
- /home/runner/.npm/_npx/2763/lib/node_modules/ts-node/dist/bin.js
Steps to reproduce the problem
Minimal reproduction
Specifications
- ts-node version: 10.2.0
- node version: 12.22.4
- TypeScript version: -
- tsconfig.json, if you're using one:
{
"compilerOptions": {
"esModuleInterop": true,
"lib": ["ESNext", "dom"]
}
}
- Operating system and version: Ubuntu 20.04.2 LTS (GH Actions)
- If Windows, are you using WSL or WSL2?:
ardit-collectai, asnaseer-resilient, BSteffaniakSS, devshorts, dominiksipowicz and 4 more
Metadata
Metadata
Assignees
Labels
No labels