Sveltekit as service deploy failed due to module not found

I tried to deploy a Sveltekit App as a Node Server following these instructions. The build succeeds, but the deploy fails on the start command.

Starting service with 'node build/index.js'
May 12 11:26:08 AM  node:internal/modules/cjs/loader:936
May 12 11:26:08 AM    throw err;
May 12 11:26:08 AM    ^
May 12 11:26:08 AM  
May 12 11:26:08 AM  Error: Cannot find module '/opt/render/project/src/build/index.js'
May 12 11:26:08 AM      at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
May 12 11:26:08 AM      at Function.Module._load (node:internal/modules/cjs/loader:778:27)
May 12 11:26:08 AM      at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
May 12 11:26:08 AM      at node:internal/main/run_main_module:17:47 {
May 12 11:26:08 AM    code: 'MODULE_NOT_FOUND',
May 12 11:26:08 AM    requireStack: []
May 12 11:26:08 AM  }

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.