erictik / midjourney-ui

Midjourney UI is an open source AI painting UI based on Midjourney
https://midjourney-ui.vercel.app
Apache License 2.0
350 stars 116 forks source link

next or webpack error when running #24

Open raymatos opened 1 year ago

raymatos commented 1 year ago

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 commented 1 year ago

me too . use the latest version

zcpua commented 1 year ago

node version >=18

yklingaOa commented 1 year ago

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

berwinjoule commented 1 year ago

same issue

Aralhi commented 1 year ago

same issue, just local and vercel works fine.

yklingaOa commented 1 year ago

有解决方案么??

raymatos commented 1 year ago

i am using node 18