a month ago
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
}
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
Node.js v22.21.1
ELIFECYCLE Command failed with exit code 1.
> backend@ start /app
node:internal/modules/cjs/loader:1386
throw err;
^
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49 {
at Function._load (node:internal/modules/cjs/loader:1192:37)
}
code: 'MODULE_NOT_FOUND',
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
requireStack: []
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
throw err;
Error: Cannot find module '/app/dist/index.js'
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
^
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
> backend@ start /app
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
Node.js v22.21.1
> node dist/index.js
Error: Cannot find module '/app/dist/index.js'
ELIFECYCLE Command failed with exit code 1.
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
node:internal/modules/cjs/loader:1386
at Function._load (node:internal/modules/cjs/loader:1192:37)
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v22.21.1
ELIFECYCLE Command failed with exit code 1.
> backend@ start /app
> node dist/index.js
node:internal/modules/cjs/loader:1386
throw err;
^
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
Node.js v22.21.1
at node:internal/main/run_main_module:36:49 {
ELIFECYCLE Command failed with exit code 1.
code: 'MODULE_NOT_FOUND',
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
requireStack: []
at Function._load (node:internal/modules/cjs/loader:1192:37)
}
at TracingChannel.traceSync (node:diagnostics_channel:328:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:237:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v22.21.1
ELIFECYCLE Command failed with exit code 1.
> backend@ start /app
> node dist/index.js
node:internal/modules/cjs/loader:1386
throw err;
^
Error: Cannot find module '/app/dist/index.js'
at Function._resolveFilename (node:internal/modules/cjs/loader:1383:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1025:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1030:22)
at Function._load (node:internal/modules/cjs/loader:1192:37)
> backend@ start /app
> node dist/index.js
node:internal/modules/cjs/loader:1386
throw err;
^
2 Replies
a month ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
25 days ago
Apologies but this looks like an issue with the application level code. Due to volume, we can only answer platform level issues.
I've made this thread public so that the community might be able to help with you query.
Status changed to Awaiting User Response Railway • 25 days ago
18 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 18 days ago