You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced with #324
Probably with 29e180e (#324)
I see nuxt.options.nitro.prerender?.routes
and nitro.options.prerender.routes = [...routes]
in the code.
Workaround:
Adding to nuxt.config.js
nitro: {prerender: [],},
Logs
nuxi generate
Nuxt CLI v3.0.0-rc.4 16:01:06
ℹ Production build 16:01:08
ℹ Bundling only for client side 16:01:08
ℹ Target: static 16:01:08
ℹ Using components loader to optimize imports 16:01:08
ℹ Discovered Components: .nuxt/components/readme.md 16:01:08
✔ Builder initialized 16:01:08
FATAL Cannot read properties of undefined (reading 'prerender') 16:01:08
at node_modules/@nuxt/bridge/dist/chunks/module.mjs:373:45
at node_modules/hable/dist/hable.js:1:990
at node_modules/hable/dist/hable.js:1:208
at async Nuxt.callHook (node_modules/hable/dist/hable.js:1:959)
at async Builder.resolveRoutes (node_modules/@nuxt/builder-edge/dist/builder.js:408:5)
at async Promise.all (index 1)
at async Builder.generateRoutesAndFiles (node_modules/@nuxt/builder-edge/dist/builder.js:289:5)
at async Builder.build (node_modules/@nuxt/builder-edge/dist/builder.js:259:5)
at async Object.invoke (node_modules/nuxi/dist/chunks/build.mjs:41:5)
at async Object.invoke (node_modules/nuxi/dist/chunks/generate.mjs:28:5)
The text was updated successfully, but these errors were encountered:
Environment
and
Reproduction
nuxi generate
Describe the bug
The error output in the logs.
Additional context
Introduced with #324
Probably with
29e180e
(#324)I see
nuxt.options.nitro.prerender?.routes
and
nitro.options.prerender.routes = [...routes]
in the code.
Workaround:
Adding to
nuxt.config.js
Logs
The text was updated successfully, but these errors were encountered: