N
Nuxt9mo ago
jonas

`netlify serve` not working with a nuxt app

I have a nuxt app deployed successfully to netlify. For local testing I wanted to run netlify serve which will build the production app and run it localhost. I get the error Cannot find module: .netlify/functions-serve/.unzipped/server/server.js and indeed, if I check this output folder there's no server.js file there. However there is a server.mjs file in the folder so I'm thinking that I have something misconfigured. I tried it on an empty nuxt project that I deployed to netlify and I can reproduce the error in that context as well. Anyone running nuxt on netlify knows what the problem is?
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server