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

what the hell ? node22 #841

Open
Super1Windcloud opened this issue Aug 13, 2024 · 1 comment
Open

what the hell ? node22 #841

Super1Windcloud opened this issue Aug 13, 2024 · 1 comment

Comments

@Super1Windcloud
Copy link

node:internal/modules/esm/resolve:768
throw new ERR_INVALID_MODULE_SPECIFIER(
^

TypeError [ERR_INVALID_MODULE_SPECIFIER]: Invalid module "@swc-node\register\esm-register" is not a valid package name imported from A:\Webstorm\awesome_example
at parsePackageName (node:internal/modules/esm/resolve:768:11)
at packageResolve (node:internal/modules/esm/resolve:792:5)
at moduleResolve (node:internal/modules/esm/resolve:914:18)
at defaultResolve (node:internal/modules/esm/resolve:1119:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:542:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:511:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:241:38)
at ModuleLoader.import (node:internal/modules/esm/loader:474:34)
at asyncRunEntryPointWithESMLoader (node:internal/modules/run_main:104:36)

@benjamincburns
Copy link

backslashes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants