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
Should be able to pass flag.
Getting the error message: "Unknown or unexpected option: --experimental-specifier-resolution"
Assume 'ts-node' is installed in the local npm package: npx ts-node --experimental-specifier-resolution=node example.ts
npx ts-node --experimental-specifier-resolution=node example.ts
Same as above.
{ "compileOnSave": false, "compilerOptions": { "allowSyntheticDefaultImports": true, "outDir": "./dist", "sourceMap": true, "declaration": true, "moduleResolution": "node", "emitDecoratorMetadata": true, "esModuleInterop": true, "experimentalDecorators": true, "target": "ES2015", "typeRoots": [ "node_modules/@types" ], "lib": [ "es2017", "dom" ] }, "include": ["./src/**/*"], "exclude": [ "**/*.spec.ts", "dist", "node_modules" ] }
The text was updated successfully, but these errors were encountered:
This comes up a lot. It's working as intended. See explanation here: #1073 (comment)
See also, a few others I found in the issue tracker: #574 #522
This issue explains one of the problems that would happen if we spawned subprocesses. #471
Sorry, something went wrong.
Closing as answered. If you have more questions, feel free to open a Discussion thread or ask on the TypeScript Community Discord
I've started a discussion post to explain this in more detail.
#1182 Feel free to ask follow-up questions and I'll do my best to update the post with all relevant information.
No branches or pull requests
Expected Behavior
Should be able to pass flag.
Actual Behavior
Getting the error message: "Unknown or unexpected option: --experimental-specifier-resolution"
Steps to reproduce the problem
Assume 'ts-node' is installed in the local npm package:
npx ts-node --experimental-specifier-resolution=node example.ts
Minimal reproduction
Same as above.
Specifications
The text was updated successfully, but these errors were encountered: