My project not deploy
kravchenko-anton
HOBBYOP

2 years ago

11 58.89 npm ERR! at Module._load (node:internal/modules/cjs/loader:922:27)

11 58.89 npm ERR! at Module.require (node:internal/modules/cjs/loader:1143:19)

11 58.89 npm ERR! at require (node:internal/modules/cjs/helpers:119:18)

11 58.89 npm ERR! at Object. (/app/node_modules/nx/src/native/index.js:184:31)

11 58.89 npm ERR! at Module._compile (node:internal/modules/cjs/loader:1256:14)

11 58.89 npm ERR! at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)

11 58.89 npm ERR! at Module.load (node:internal/modules/cjs/loader:1119:32)

11 58.89 npm ERR! at Module._load (node:internal/modules/cjs/loader:960:12)

11 58.89 npm ERR! at Module.require (node:internal/modules/cjs/loader:1143:19) {

11 58.89 npm ERR! code: 'MODULENOTFOUND',

11 58.89 npm ERR! requireStack: [

11 58.89 npm ERR! '/app/node_modules/nx/src/native/index.js',

11 58.89 npm ERR! '/app/node_modules/nx/src/hasher/node-task-hasher-impl.js',

11 58.89 npm ERR! '/app/node_modules/nx/src/hasher/task-hasher.js',

11 58.89 npm ERR! '/app/node_modules/nx/src/hasher/hash-task.js',

11 58.89 npm ERR! '/app/node_modules/nx/src/tasks-runner/run-command.js',

11 58.89 npm ERR! '/app/node_modules/nx/src/nx-cloud/utilities/get-cloud-options.js',

11 58.89 npm ERR! '/app/node_modules/nx/bin/post-install.js'

11 58.89 npm ERR! ]

11 58.89 npm ERR! }

11 58.89 npm ERR!

11 58.89 npm ERR! Node.js v18.18.2

11 58.89

11 58.89 npm ERR! A complete log of this run can be found in: /root/.npm/logs/2024-04-08T184926235Z-debug-0.log

11 ERROR: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1

> [stage-0 7/11] RUN --mount=type=cache,id=s/0aa79f11-7908-4b6b-9f3c-f2870300e84b-/root/npm,target=/root/.npm npm ci:

58.89 npm ERR! '/app/node_modules/nx/src/hasher/hash-task.js',

58.89 npm ERR! '/app/node_modules/nx/src/tasks-runner/run-command.js',

58.89 npm ERR! '/app/node_modules/nx/src/nx-cloud/utilities/get-cloud-options.js',

58.89 npm ERR! '/app/node_modules/nx/bin/post-install.js'

58.89 npm ERR! ]

58.89 npm ERR! }

58.89 npm ERR!

58.89 npm ERR! Node.js v18.18.2

58.89

58.89 npm ERR! A complete log of this run can be found in: /root/.npm/logs/2024-04-08T184926235Z-debug-0.log

Dockerfile:20

18 | ENV NIXPACKSPATH /app/nodemodules/.bin:$NIXPACKS_PATH

19 | COPY . /app/.

20 | >>> RUN --mount=type=cache,id=s/0aa79f11-7908-4b6b-9f3c-f2870300e84b-/root/npm,target=/root/.npm npm ci

21 |

22 | # build phase

ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm ci" did not complete successfully: exit code: 1

Error: Docker build failed

View Deploy details

> ⓘ Deployment information is only viewable by Project members and Railway admins.

4 Replies


kravchenko-anton
HOBBYOP

2 years ago

here

Attachments


brody
EMPLOYEE

2 years ago

Are you committing your node_modules folder to GitHub?


kravchenko-anton
HOBBYOP

2 years ago

No, I haven't seen this in other projects and it seemed like everything was put on command, isn't that right?


Loading...