Skip to content
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

fails to transpile under ES #20

Closed
geetee24 opened this issue Feb 9, 2023 · 2 comments
Closed

fails to transpile under ES #20

geetee24 opened this issue Feb 9, 2023 · 2 comments

Comments

@geetee24
Copy link

geetee24 commented Feb 9, 2023

Error [ERR_REQUIRE_ESM]: require() of ES Module C:\GtSource\NodeJs\awsClipboard\node_modules\move-file\index.js from xxx.ts not supported.
Instead change the require of index.js in xxx.ts to a dynamic import() which is available in all CommonJS modules.
at Module.m._compile (C:\GtSource\NodeJs\awsClipboard\node_modules\ts-node\dist\index.js:791:29)

latest version wont execute.

@sindresorhus
Copy link
Owner

@sindresorhus sindresorhus closed this as not planned Won't fix, can't repro, duplicate, stale Feb 9, 2023
@geetee24
Copy link
Author

geetee24 commented Feb 9, 2023

please tell me the solution rather than posting a complex multi solution for multi problems

Repository owner locked as resolved and limited conversation to collaborators Feb 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants