-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Configuration Languages: TS_NODE_PROJECT not working #2733
Comments
@akopchinskiy I faced a similar issue. The following worked for me:
|
@akopchinskiy can you confirm that adding |
@EugeneHlushko yes it's working. |
@akopchinskiy I guess you mean something like setting the mode to production / development, right? This is my folder structure:
And here is an excerpt of my package.json
The |
Hi there. I have a
and the other is with the following versions:
But for the first one I don't need to add |
@hakobpogh how, then, can you use different TypeScript configs for webpack and for your code? |
@aryzing, though this is an old issue, maybe this would still be useful. I've had the exact same issue and I managed to resolve it by adding |
I solved this by modifying my tsconfig as per the docs {
"compilerOptions": {
// stuff
}
"ts-node": {
"compilerOptions": {
"module": "CommonJS",
"target": "ESNext",
"esModuleInterop": true,
"moduleResolution": "node",
"verbatimModuleSyntax": false
}
},
} |
Original docs: https://webpack.js.org/configuration/configuration-languages/#typescript
All dependencies is installed in accordance with the documentation.
But when I use this:
I receive this error:
"TS_NODE_PROJECT" unrecognized command
The text was updated successfully, but these errors were encountered: