Shay Rosenfeld
Build does not create index.mjs
Hi.
I am having a strange problem. Made some changes (added nuxt scripts) to my SSR, but now after building using
npm run build
, the file .output/server/index.mjs
is not being created, which leads to failure on pm2
side.
This is the first time this happening with this app and it's super strange.
Versions: Nuxt 3.13.2 with Nitro 2.9.7
.
Relevant files of nuxt.config.tx
, ecosystem.config.cjs
and package.json
can be found here (was too long for the message): https://pastebin.com/acsTNTNy
Any help would be super appreciated 🙂5 replies
Error with Worker after upgrading to 3.11
Hi.
I tried to upgrade to 3.11 from 3.9.3, using the usual method with
npx nuxi upgrade --force
. However, after Nuxt loads vite and nitro, I get the following error:
From the stack trace it looks like the problem is with nitro modules, but I am pretty sure it's something else (as it is usually with these errors in my experience), however I can't really see a way to debug this. Any help would be appreciated 🙂1 replies