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
Currently, when running nuxt preview to preview a nuxt application built with nuxt generate, the following error is thrown:
ERROR Command failed with exit code 13: npx serve ./public 11:06:18
at makeError (node_modules/nuxi/dist/chunks/index3.mjs:1292:11)
at handlePromise (node_modules/nuxi/dist/chunks/index3.mjs:2530:26)
at async Object.run (node_modules/nuxi/dist/chunks/preview.mjs:141:5)
at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1678:16)
at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1669:11)
at async runMain$1 (node_modules/nuxi/dist/shared/nuxi.9edf0930.mjs:1807:7)
This was definitely working a while (maybe 2-3 weeks) ago. I also don't think that a Nuxt-update caused this, since the current Nuxt version (v3.11.2) came out more than a month ago, and i definitely had stackblitzes like this working in the meantime. I also tried with v3.11.1 and it has the same problem.
It is worth noting, that it is still working using nuxt build instead of nuxt generate.
Describe the bug
Currently, when running
nuxt preview
to preview a nuxt application built withnuxt generate
, the following error is thrown:This was definitely working a while (maybe 2-3 weeks) ago. I also don't think that a Nuxt-update caused this, since the current Nuxt version (v3.11.2) came out more than a month ago, and i definitely had stackblitzes like this working in the meantime. I also tried with v3.11.1 and it has the same problem.
It is worth noting, that it is still working using
nuxt build
instead ofnuxt generate
.Link to the blitz that caused the error
https://stackblitz.com/edit/nuxt-starter-zrndgf?file=package.json
Steps to reproduce
startCommand
set tonpm run generate && npm run preview
, so you just have to pressy
when asked to install theserve
package.Expected behavior
No error being thrown - instead the generated site should be served.
Parity with Local
Screenshots
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: