`#nitro` is not defined
See original GitHub issueEnvironment
❯ npx nuxi info Nuxt CLI v3.0.0-27488877.2bedebe 13:44:19 RootDir: /home/projects/github-lpk18d 13:44:22 Nuxt project info: 13:44:22
- Operating System:
Linux
- Node Version:
v16.14.2
- Nuxt Version:
3.0.0-27488877.2bedebe
- Package Manager:
npm@7.17.0
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
https://stackblitz.com/edit/github-lpk18d?file=package.json
Describe the bug
Creating a new project with the most recent nuxt version results in a failing dev server.
Additional context
No response
Logs
ERROR [worker reload] [worker init]Package import specifier "#nitro" is not defined in package /home/projects/github-lpk18d/node_modules/nuxt3/package.json imported from /home/projects/github-lpk18d/node_modules/nuxt3/dist/core/runtime/nitro/paths.mjs
at TypeError.get (https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:6:292359)
at https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:6:986991
at Array.forEach (<anonymous>)
at TryGetAllProperties (https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:6:986899)
at serializeError (https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:6:987576)
at process.workerOnGlobalUncaughtException [as _fatalException] (https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:6:1613913)
at Object.triggerUncaughtException (https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:15:325916)
at i.loadESM (https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:6:268244)
at async handleMainPromise (https://github-lpk18d.w.staticblitz.com/blitz.31afbfcfe1b0985e8cbdb27d44e16766166a118e.js:6:989191)
Issue Analytics
- State:
- Created a year ago
- Reactions:5
- Comments:5 (3 by maintainers)
Top Results From Across the Web
package import specifier "#internal/nitro" is not defined in ...
Fresh install and when I tried : npm run generate, I have this error: Package import specifier "#internal/nitro" is not defined in package....
Read more >Nuxt 3 package import specifier "#internal/nitro" is not defined
With client side rendering only there is no server-side rendering. Client side rendering means rendering the content in the browser using ...
Read more >Nuxt 3 package import specifier "#internal/nitro" is not defined ...
With client side rendering only there is no server-side rendering. Client side rendering means rendering the content in the browser using JavaScript.
Read more >Preferences - Nitro PDF
Auto rotate pages based on text orientation: If a page is found to contain text with a non-standard orientation, the page will be...
Read more >Nitro Definition & Meaning - Merriam-Webster
The meaning of NITRO is containing or being the monovalent group NO2 united through nitrogen.
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
Working on it (#4157) sorry for regression.
This is not reproducible with
3.0.0-27488954.9fbb9be
now: https://stackblitz.com/edit/github-lpk18d-gvobdq?file=package.json.(Bridge is a separate issue - raised https://github.com/nuxt/framework/pull/4170.)