Open codeflorist opened 1 month ago
Hey @codeflorist π . Thanks for reaching out!
I opened your project and it seems to work for me. Can you maybe try again and see if it's fixed in the mean time? We did release a new Node.js version with some additional fixes so it might have (accidentally) fixed it.
Hey @codeflorist π . Thanks for reaching out!
I opened your project and it seems to work for me. Can you maybe try again and see if it's fixed in the mean time? We did release a new Node.js version with some additional fixes so it might have (accidentally) fixed it.
@SamVerschueren
Thanks for taking a look!
I just tried https://stackblitz.com/edit/nuxt-starter-zrndgf?file=package.json again, and the same error is thrown.
I tried in Chrome as well as Firefox (Windows 11).
It's weird, that it is working with you.
One additional note: After booting up, the procedure halts at:
Need to install the following packages:
serve@14.2.3
Ok to proceed? (y)
There you have to press y
, since the nuxt preview command requires the serve package.
Hey @codeflorist !
Yes, I did press y
and enter. I don't have to do anything else besides opening the project and then pressing y
when it asks for it? The only thing I can think off is that you're running on Windows π€ . I might need to ask someone else from the team to test this on a Windows machine.
here is a screenshot from me in a chrome inkognito window:
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