framework
framework copied to clipboard
Rollup error
Environment
Nuxt CLI v3.0.0-rc.6 19:25:56 RootDir: F:\Nuxt\nuxt-app 19:26:00 Nuxt project info: 19:26:00
- Operating System:
Windows_NT
- Node Version:
v14.18.0
- Nuxt Version:
3.0.0-rc.6
- Package Manager:
[email protected]
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
👉 Report an issue: https://github.com/nuxt/framework/issues/new 19:26:00
👉 Suggest an improvement: https://github.com/nuxt/framework/discussions/new
👉 Read documentation: https://v3.nuxtjs.org
Reproduction
https://github.com/nuxt/framework.git "nuxt": "3.0.0-rc.6"
Describe the bug
yarn dev -o
Throw error
ERROR Rollup error: Could not resolve entry module (node_modules/nitropack/dist/shared/runtime/entries/nitro-dev).
Additional context
yarn install
warning Lockfile has incorrect entry for "mlly@^0.5.10". Ignoring it. Couldn't find any versions for "mlly" that matches "^0.5.10" ? Please choose a version of "mlly" from this list: 0.5.9
Logs
Nuxt CLI v3.0.0-rc.6 19:17:51
19:18:06
> Local: http://localhost:3000/
> Network: http://192.168.3.35:3000/
i Vite server warmed up in 960ms 19:18:18
i Vite client warmed up in 1609ms 19:18:18
√ Vite server built in 1726ms 19:18:19
ERROR Rollup error: Could not resolve entry module (node_modules/nitropack/dist/shared/runtime/entries/nitro-dev). nitro 19:18:19
at error (/F:/Nuxt/nuxt-app/node_modules/rollup/dist/es/shared/rollup.js:1858:30)
at ModuleLoader.loadEntryModule (/F:/Nuxt/nuxt-app/node_modules/rollup/dist/es/shared/rollup.js:22352:20)
at async Promise.all (index 0)
√ Nitro built in 105 ms
Likely your npm cache is outdated: https://unpkg.com/browse/mlly%400.5.10/.
Try reinstalling or running yarn upgrade
to pull in the latest version of nitropack with fix: https://github.com/unjs/nitro/commit/6cad6821039328e099b4b1a6cba5f73eba42a111.
您的 npm 缓存可能已过时:https ://unpkg.com/browse/mlly%400.5.10/ 。
尝试重新安装或运行
yarn upgrade
以获取最新版本的 nitropack 并修复:unjs/nitro@ 6cad682。
Thank you. I'll try it