-
-
Notifications
You must be signed in to change notification settings - Fork 937
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
Installed module cannot access it's dependencies with node v17.4.0 #4364
Comments
Works fine with cc: @zkochan |
update: |
It is possible that the problem was introduced by nodejs/node#40510. I personally feel that you should submit relevant issues to nodejs |
@BlackHole1 thanks for information. So what should I do for now? I must downgrade the nodejs version? |
|
ok, thank you so much |
Hi, just want to clarify. I was able to solve this issue by implementing explicit import. import module from './folder/module' to import module from './folder/module.js' Note that we must use |
pnpm version: 6.3.1
Code to reproduce the issue:
npx degit kodepandai/lunox lunoxapp cd lunoxapp pnpm install pnpm build pnpm serve
Expected behavior:
Lunox app should run successfully
This is when I run
pnpm serve
with node v16.6.2Actual behavior:
lunox dependencies is not detected by pnpm, for example @kodepandai/flydrive, sirv, etc.
This is console.log when I run
pnpm serve
Additional information:
node -v
prints: v17.4.0The text was updated successfully, but these errors were encountered: