-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deploy failure on Railway #11
Comments
+1
|
same here |
fixed the 'deploy failure on Railway #11 ' bug
i solve it by deleting my package-lock.json, them i use "npm i", finally push it to the main |
helpme #8 18.92 error: #8 18.92 … while calling the 'derivationStrict' builtin #8 18.92 #8 18.92 at /builtin/derivation.nix:9:12: (source not available) #8 18.92 #8 18.92 … while evaluating derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env' #8 18.92 whose name attribute is located at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/stdenv/generic/make-derivation.nix:300:7 #8 18.92 #8 18.92 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env' #8 18.92 #8 18.92 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7: #8 18.92 #8 18.92 87| inherit buildCommand name; #8 18.92 88| passAsFile = [ "buildCommand" ] #8 18.92 | ^ #8 18.92 89| ++ (derivationArgs.passAsFile or []); #8 18.92 #8 18.92 error: php80 has been dropped due to the lack of maintenance from upstream for future releases #8 ERROR: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1
18.92 … while evaluating attribute 'passAsFile' of derivation '5148520bfab61f99fd25fb9ff7bfbb50dad3c9db-env' 18.92 18.92 at /nix/store/lgcjj6s23v2203zyihsd0j26wh1saj0c-source/pkgs/build-support/trivial-builders/default.nix:88:7: 18.92 18.92 87| inherit buildCommand name; 18.92 88| passAsFile = [ "buildCommand" ] 18.92 | ^ 18.92 89| ++ (derivationArgs.passAsFile or []); 18.92 18.92 error: php80 has been dropped due to the lack of maintenance from upstream for future releases Dockerfile:8 6 | 7 | COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix 8 | >>> RUN nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d 9 | 10 | COPY .nixpacks/assets /assets/ ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix && nix-collect-garbage -d" did not complete successfully: exit code: 1 Error: Docker build failed |
it worked for me Thx |
Any solution on that? I'm also facing with same issue |
I also facing this issue while I deploy the Next.js application on railway.app |
[Region: us-west1] ============== Using Nixpacks ============== context: 3500f4cbebb03c3ee19dffab5c8525bc ╔══════════════════════════════ Nixpacks v1.24.0 ══════════════════════════════╗ ║ setup │ (php80.withExtensions (pe: pe.enabled ++ [])), nginx, ║ ║ │ libmysqlclient, php80Packages.composer, nodejs_18, npm-9_x ║ ║──────────────────────────────────────────────────────────────────────────────║ ║ install │ mkdir -p /var/log/nginx && mkdir -p /var/cache/nginx ║ ║ │ composer install --ignore-platform-reqs ║ ║ │ npm ci ║ ║──────────────────────────────────────────────────────────────────────────────║ ║ build │ composer install && npm install --production && php artisan ║ ║ │ optimize && php artisan config:chache && php artisan ║ ║ │ route:cache && php artisan view:cache && php artisan migrate ║ ║ │ --force ║ ║──────────────────────────────────────────────────────────────────────────────║ ║ start │ node /assets/scripts/prestart.mjs /assets/nginx.template.conf ║ ║ │ /nginx.conf && (php-fpm -y /assets/php-fpm.conf & nginx -c ║ ║ │ /nginx.conf) ║ ╚══════════════════════════════════════════════════════════════════════════════╝ #0 building with "default" instance using docker driver #1 [internal] load build definition from Dockerfile #1 transferring dockerfile: 3.71kB done #1 DONE 0.1s #2 [internal] load metadata for ghcr.io/railwayapp/nixpacks:ubuntu-1716249803 #2 DONE 0.1s #3 [stage-0 1/10] FROM ghcr.io/railwayapp/nixpacks:ubuntu-1716249803@sha256:5ef4d2021c418fcaabb56cea5ea9e24a5fdedfe27f58062d9689214dfed45c46 #3 DONE 0.0s #4 [stage-0 2/10] WORKDIR /app/ #4 CACHED #5 [internal] load .dockerignore #5 transferring context: 2B done #5 DONE 0.0s #6 [internal] load build context #6 transferring context: 6.88MB 0.1s done #6 DONE 0.1s #7 [ 3/12] COPY .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix .nixpacks/nixpkgs-5148520bfab61f99fd25fb9ff7bfbb50dad3c9db.nix tengo el mismo problema |
I fixed this issue by upgrading to node v.18. |
what should i do
The text was updated successfully, but these errors were encountered: