DEV Community

Beaver Bridge
Beaver Bridge

Posted on

docker image 만들 때 발생한 에러인데 원인은 나중에 찾아봐야겠다.

 > [build 5/8] RUN npm install:
43.30 npm WARN deprecated wrench@1.3.9: wrench.js is deprecated! You should check out fs-extra (https://github.com/jprichardson/node-fs-extra) for any operations you were using wrench for. Thanks for all the usage over the years.
47.54 npm ERR! code 139
47.54 npm ERR! path /app/tmp/node_modules/@sveltejs/kit
47.54 npm ERR! command failed
47.54 npm ERR! command sh -c node postinstall.js
47.54 npm ERR! Segmentation fault
47.54
47.54 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-07-04T15_52_07_658Z-debug-0.log
------
Dockerfile:7
--------------------
   5 |     WORKDIR /app/tmp
   6 |     COPY . .
   7 | >>> RUN npm install
   8 |       # && npm run prisma_migrate_deploy \
   9 |     RUN  npm run build
--------------------
ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 139
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
__aa3e4bc832ba7032bfa3 profile image
Beaver Bridge

npm install에서 왜 에러가 나는지 모르겠다...