-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed as duplicate of#58429
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Description
What is the problem this feature will solve?
Please add support type stripping in node_modules. I was unaware of this behavior (#57215) and encountered difficulties while developing my project: https://www.npmjs.com/package/@fatec-ru/plcjs
After publishing the project to npmjs - which was fully developed using the "Running TypeScript Natively" concept (https://nodejs.org/en/learn/typescript/run-natively) - I faced this issue (ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING).
What is the feature you are proposing to solve the problem?
Ideally, there should be a --flag that enables cleaning type declarations in node_modules.
What alternatives have you considered?
Bun is an alternative, but in my opinion it is still very immature and far behind Node.js (especially regarding the debugger). However, the future definitely belongs to "Running TypeScript Natively."
Metadata
Metadata
Assignees
Labels
feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.
Type
Projects
Status
Awaiting Triage