Cannot start nuxt: nuxt.options.buildModules is not iterable
See original GitHub issueEnvironment
Nuxt project info: 17:35:52
- Operating System:
Linux
- Node Version:
v16.18.1
- Nuxt Version:
3.0.0
- Nitro Version:
1.0.0
- Package Manager:
npm@8.19.2
- Builder:
vite
- User Config:
runtimeConfig
,modules
,windicss
,nitro
,app
,typescript
- Runtime Modules:
nuxt-windicss@2.5.4
,nuxt-icon@0.1.7
- Build Modules:
-
Reproduction
npm outdated nuxt 3.0.0-rc.13 3.0.0 3.0.0 node_modules/nuxt
npm update npm run dev
Describe the bug
Nuxt show its loading screen only.
Additional context
When downgrade to 3.0.0-rc.13 all goes normal. I have the same problem with 3.0.0-rc.14.
Logs
Nuxi 3.0.0
Nuxt 3.0.0 with Nitro 1.0.0 17:31:40
> Local: http://localhost:3000/
> Network: http://192.168.2.129:3000/
ℹ Cleaning up generated nuxt files and caches...
ERROR Cannot start nuxt: nuxt.options.buildModules is not iterable
at setup (node_modules/nuxt-windicss/dist/module.mjs:94:23)
at normalizedModule (node_modules/nuxt-windicss/node_modules/@nuxt/kit/dist/index.mjs:614:29)
at async installModule (node_modules/@nuxt/kit/dist/index.mjs:416:3)
at async initNuxt (node_modules/nuxt/dist/index.mjs:1825:7)
at async load (node_modules/nuxi/dist/chunks/dev.mjs:6779:9)
at async Object.invoke (node_modules/nuxi/dist/chunks/dev.mjs:6840:5)
at async _main (node_modules/nuxi/dist/cli.mjs:50:20)
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
FATAL nuxt.options.generate.routes is not iterable #472 - GitHub
Create a custom generate: { routes() } function. ??? Notice that it cant generate routes and instead returns FATAL nuxt.options.generate.routes ...
Read more >Nuxt: TypeError: blogRoutes is not iterable - Stack Overflow
When I deploy to Netlify I get the error TypeError: blogRoutes is not iterable in the deploy logs. What does this mean as...
Read more >The modules Property - Nuxt
The modules property. Modules are Nuxt extensions which can extend its core functionality and add endless integrations. Learn More ...
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 >Modules directory - Nuxt
This is the content of the user's nuxt.config.js with all default options assigned to it. It can be used for shared options between...
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 Free
Top 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
buildModules
is not supported in Rc.14 and 3.0.0 releases.nuxi-windicss
needs uptate. Please track at upstream: https://github.com/windicss/nuxt-windicss/issues/190 (/cc @harlan-zw)For me, upgrade to NodeJS 18 fixed the issue