Cannot start nuxt: Cannot find module 'nuxt'
See original GitHub issueEnvironment
- Operating System:
Darwin
- Node Version:
v17.7.1
- Nuxt Version:
3.0.0-27507520.e006c56
- Package Manager:
npm@8.5.2
- Builder:
vite
- User Config:
-
- Runtime Modules:
-
- Build Modules:
-
Reproduction
npx nuxi init
with nuxt3: "3.0.0-27507520.e006c56"
Describe the bug
since 3.0.0-27507520.e006c56
: Error: Cannot start nuxt: Cannot find module 'nuxt'
- Every commit before works as intended.
- Every commit after throws the same error.
Additional context
No response
Logs
ERROR Cannot start nuxt: Cannot find module 'nuxt'
Require stack:
- /Users/weleo/nuxt-app/index.js
Require stack:
- index.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at Function._resolve [as resolve] (node_modules/jiti/dist/jiti.js:1:192841)
at resolveModule (node_modules/@nuxt/kit/dist/index.mjs:236:29)
at importModule (node_modules/@nuxt/kit/dist/index.mjs:259:24)
at loadNuxt (node_modules/@nuxt/kit/dist/index.mjs:656:43)
at async load (node_modules/nuxi/dist/chunks/dev.mjs:6733:23)
at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6777:5)
at async _main (node_modules/nuxi/dist/cli.mjs:46:20)
Issue Analytics
- State:
- Created a year ago
- Comments:10 (3 by maintainers)
Top Results From Across the Web
Cannot start nuxt: Cannot find module 'nuxt' #3060 - GitHub
I think you must have an outdated version of nuxi installed locally. Your Nuxt version should be at least 3.
Read more >Error: Cannot find module nuxt.js, why my app don't start?
I´ve got this error when try to run npm run dev after installed the dependencies and i cant find why ...
Read more >nuxt-push-plugins - npm
When calling this.addPlugin inside a Nuxt module, Nuxt does in fact not add the plugin to the end of the list, but to...
Read more >Setup - Nuxt TypeScript
Nuxt TypeScript Support mainly comes through a Nuxt module, @nuxt/typescript-build, and its types @nuxt/types. Here are the guidelines to install ...
Read more >Cannot find module 'lib/axios'- nuxt 2.15.8 + vite integration error
And now you will get this error Cannot find module 'lib/axios' . This problem comes from vite version. Let's downgrade, then our error...
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
Please follow the instructions here in order to update nuxt3 dependency. Sorry for the inconvenience during the RC release.
apologies for the inconvenience - things are happening in the background 😉