Does not work after upgrading to 4.0.0
See original GitHub issuets-node just suddenly stop working after upgrading to 4.0.0 (The same with 4.0.1):
nodemon.json
{
"watch": ["src"],
"ext": "ts",
"ignore": ["src/**/*.spec.ts"],
"exec": "ts-node -P ./tsconfig.json --no-cache ./src/index.ts"
}
tsconfig.json
{
"compilerOptions": {
"target": "esnext",
"module": "commonjs",
"sourceMap": true,
"lib": ["esnext"],
"outDir": "build",
"rootDir": "src",
"importHelpers": true,
"noEmitOnError": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"emitDecoratorMetadata": true
}
}
nodemon: 1.12.5 (dev dependency) typescirpt: 2.6.2 (dev dependency) ts-node: 4.0.1 (dev dependency)
Reverted ts-node back to 3.30 solved the problem.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:16 (10 by maintainers)
Top Results From Across the Web
Doesn't Work After Upgrade to 4.0.0 #1201 - GitHub
Always pop up a window, tell me to give it permission. I've tried to remove it from the accessibility list then add it...
Read more >Why has xts.index stopped working after upgrading to R 4.0.0?
I have a large body of code using xts objects, everything works fine with upgrade to R 4.0.0, but the index function has...
Read more >Version 4.0.0 Upgrade Problem - Support & Bugs
After upgrading to v4 I received the following error message on the dashboard. The plugin DisableTracking could not be loaded as it has ......
Read more >Known Issues | Cribl Docs
Problem: After upgrading to Cribl Stream 4.0.0, multiple Secret decrypt failed with error messages might appear in logs. These are spurious, and you...
Read more >Release Notes for MongoDB 4.0
4.0.28 - January 31, 2022. Issues fixed: SERVER-62065 Upgrade path from 3.6 to 4.0 can leave chunk entries without history on the shards....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

node v8.9.0 Win8.1x64
node -r ts-node/registerworks for me.Interesting, thanks. I thought it may have been a duplicate of https://github.com/TypeStrong/ts-node/issues/481, but not if it’s on mac. Looks like these issues may be negative side effects of https://github.com/TypeStrong/ts-node/pull/419.
For anyone running into this, can you switch to using
node -r ts-node/register? This avoids many of the process issues that were occurring and is likely the recommended way to use in the next release.