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

next or webpack error when running #24

Open
raymatos opened this issue May 18, 2023 · 7 comments
Open

next or webpack error when running #24

raymatos opened this issue May 18, 2023 · 7 comments

Comments

@raymatos
Copy link

node:child_process Module build failed: UnhandledSchemeError: Reading from "node:child_process" is not handled by plugins (Unhandled scheme). Webpack supports "data:" and "file:" URIs by default. You may need an additional plugin to handle "node:" URIs. Import trace for requested module: node:child_process ./node_modules/discord.js/src/sharding/Shard.js ./node_modules/discord.js/src/index.js ./node_modules/midjourney/libs/midjourney.js ./node_modules/midjourney/libs/index.js

@yklingaOa
Copy link

me too . use the latest version

@zcpua
Copy link
Member

zcpua commented May 19, 2023

node version >=18

@yklingaOa
Copy link

使用了最新的midjourney的依赖,就会导致这个问题尝试了18.16.0, 19.9.0以及最新版本的nodejs,依然是上面的报错

@berwinjoule
Copy link

same issue

@Aralhi
Copy link

Aralhi commented May 21, 2023

same issue, just local and vercel works fine.

@yklingaOa
Copy link

有解决方案么??

@raymatos
Copy link
Author

i am using node 18

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

No branches or pull requests

5 participants