NuxtN
Nuxtβ€’15mo agoβ€’
4 replies
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 πŸ™‚
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Was this page helpful?