element-plus/element-plus-nuxt-starter

build报错

hzm18 opened this issue · 6 comments

hzm18 commented

执行命令yarn build报错:
yarn版本:1.22.10
node版本:16.11.1
npm版本:8.1.0
系统:archlinux
`
ERROR Could not resolve './use-prevent-globalThis' from ./use-prevent-globalThis?commonjs-external 21:02:42

ERROR Could not resolve './use-prevent-globalThis' from ./use-prevent-globalThis?commonjs-external 21:02:42

at error (node_modules/rollup/dist/shared/rollup.js:158:30)
at ModuleLoader.handleResolveId (node_modules/rollup/dist/shared/rollup.js:22263:24)
at node_modules/rollup/dist/shared/rollup.js:22257:26

error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
`

可复现,是已知的 Nuxt3 Bug,等待修复。

hd996 commented

+1

hd996 commented

@YunYouJun Nuxt3有相关issue嘛?

hd996 commented

@YunYouJun thx!

Now, it works by upgrade nuxt3!