midjourney-ui icon indicating copy to clipboard operation
midjourney-ui copied to clipboard

Dynamic Code Evaluation not allowed in Edge Runtime

Open Aralhi opened this issue 1 year ago • 4 comments

Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation

Import trace for requested module: ./node_modules/[email protected]@lodash.snakecase/index.js ./node_modules/[email protected]@discord.js/src/util/Transformers.js ./node_modules/[email protected]@discord.js/src/util/Options.js ./node_modules/[email protected]@discord.js/src/index.js ./node_modules/[email protected]@midjourney/libs/midjourney.js ./node_modules/[email protected]@midjourney/libs/index.js

i just fork the repo and npm run build in local. anyone have meet this issue?

Aralhi avatar May 21 '23 17:05 Aralhi

"midjourney": "^2.1.30", or "midjourney": "^2.2.33"

zcpua avatar May 26 '23 03:05 zcpua

i use "midjourney": "^2.1.30", didn't work.

Aralhi avatar May 26 '23 04:05 Aralhi

cat node_modules/midjourney/package.json

zcpua avatar May 26 '23 04:05 zcpua

or git pull & yarn install

zcpua avatar May 26 '23 04:05 zcpua