zDeathSouls
zDeathSouls
RRailway
Created by zDeathSouls on 6/21/2023 in #✋|help
ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run dev" did not complete successful
Hello, I am uploading a laravel project to Railway that needs npm to work, I put my npm run dev command in build command but when I run it, these errors appear: #15 [11/12] RUN npm run dev  #15 0.709 #15 0.709 > dev #15 0.709 > vite #15 0.709  #15 0.718 sh: 1: vite: Permission denied #15 ERROR: process "/bin/bash -ol pipefail -c npm run dev" did not complete successfully: exit code: 126 -----
[11/12] RUN npm run dev:
#15 0.709 #15 0.709 > dev #15 0.709 > vite #15 0.709 #15 0.718 sh: 1: vite: Permission denied -----  Dockerfile:25 ------------------- 23 | # build phase 24 | COPY . /app/. 25 | >>> RUN npm run dev 26 | 27 | ------------------- ERROR: failed to solve: process "/bin/bash -ol pipefail -c npm run dev" did not complete successfully: exit code: 126  Error: Docker build failed the same thing happens with npm run build I would really appreciate the help, thank you very much
52 replies