cannot find client.manifest.mjs when adding or removing package while dev server is up
See original GitHub issueEnvironment
- Operating System:
Windows_NT
- Node Version:
v16.17.0
- Nuxt Version:
3.0.0-rc.11
- Nitro Version:
0.5.4
- Package Manager:
yarn@3.2.3
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
- start nuxt dev
- on another terminal , install any package using yarn (not tested with npm or pnpm)
- try to go on any page
- error 500
Describe the bug
Hi 👋 ,
adding a package while the dev server is on cause .nuxt/dev
and .nuxt/dist
being deleted.
stopping and reloading the server solves the issue since it regenerate .nuxt
directory.
I reproduced this on window and WSL(ubuntu)
Additional context
No response
Logs
Cannot find module '/mnt/d/GIT/test/.nuxt/dist/server/client.manifest.mjs' imported from /mnt/d/GIT/test/.nuxt/dev/index.mjs
Issue Analytics
- State:
- Created a year ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Rails: Webpacker 4.2 can't find application in /app/public ...
It looks like there's no application.css in your manifest.json which means you might not be importing any css from within your Webpack ...
Read more >API - esbuild
In node, you can load a module using node --experimental-modules file.mjs . Note that node requires the .mjs extension unless you have configured...
Read more >Changelog | Meteor API Docs
OAuth related code has been moved from accounts-base to accounts-oauth , removing the dependency on service-configuration more can be seen in this discussion ......
Read more >Keep getting "failed to download version manifest, can not find ...
So im trying to download forge and keep getting the "failed to download version manifest, can not find client jar URL" popup.
Read more >Module Methods - webpack
When using webpack to bundle your application, you can pick from a variety of module syntax styles including ES6, CommonJS, and AMD. While...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is likely because of the
postinstall
script which runsnuxi prepare
…you should also be able to resolve just by restarting your dev server