I did a minor update in some JS script, deployed the app, and it’s not starting
I do not understand what it going on, the app is running locally
what are those npm errors in the log, are they the reasons, and how can I fix them?
please help, my site is off now, since the last deploy seems to be gone …
2024-03-10T22:09:30Z proxy[e28650e0f67458] fra [info]Starting machine
2024-03-10T22:09:30Z app[e28650e0f67458] fra [info][ 0.041777] PCI: Fatal: No config space access function found
2024-03-10T22:09:30Z app[e28650e0f67458] fra [info] INFO Starting init (commit: 913ad9c)...
2024-03-10T22:09:30Z app[e28650e0f67458] fra [info] INFO Preparing to run: `/cnb/process/web` as heroku
2024-03-10T22:09:30Z app[e28650e0f67458] fra [info] INFO [fly api proxy] listening at /.fly/api
2024-03-10T22:09:30Z app[e28650e0f67458] fra [info]2024/03/10 22:09:30 listening on [fdaa:0:d795:a7b:13c:a037:d151:2]:22 (DNS: [fdaa::3]:53)
2024-03-10T22:09:31Z runner[e28650e0f67458] fra [info]Machine started in 614ms
2024-03-10T22:09:31Z proxy[e28650e0f67458] fra [info]waiting for machine to be reachable on 0.0.0.0:8080 (waited 7.293019424s so far)
2024-03-10T22:09:31Z proxy[e28650e0f67458] fra [info]waiting for machine to be reachable on 0.0.0.0:8080 (waited 14.274080292s so far)
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]> snow@1.0.0 start
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]> node ./bin/www
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! code EACCES
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! syscall mkdir
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! path /layers/heroku_nodejs-npm-install
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! errno -13
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! Error: EACCES: permission denied, mkdir '/layers/heroku_nodejs-npm-install'
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! [Error: EACCES: permission denied, mkdir '/layers/heroku_nodejs-npm-install'] {
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! errno: -13,
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! code: 'EACCES',
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! syscall: 'mkdir',
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! path: '/layers/heroku_nodejs-npm-install'
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! }
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR!
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! The operation was rejected by your operating system.
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! It is likely you do not have the permissions to access this file as the current user
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR!
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! If you believe this might be a permissions issue, please double-check the
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! permissions of the file and its containing directories, or try running
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! the command again as root/Administrator.
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! Log files were not written due to an error writing to the directory: /layers/heroku_nodejs-npm-install/npm_cache/_logs
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info] INFO Main child exited normally with code: 243
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info] INFO Starting clean up.
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)
2024-03-10T22:09:31Z app[e28650e0f67458] fra [info]2024/03/10 22:09:31 listening on [fdaa:0:d795:a7b:13c:a037:d151:2]:22 (DNS: [fdaa::3]:53)
2024-03-10T22:09:32Z proxy[e28650e0f67458] fra [info]machine started in 1.62029298s
2024-03-10T22:09:32Z app[e28650e0f67458] fra [info][ 2.281937] reboot: Restarting system
2024-03-10T22:09:33Z runner[e28650e0f67458] fra [info]machine has reached its max restart count (10)
2024-03-10T22:09:35Z proxy[e28650e0f67458] fra [error]failed to connect to machine: gave up after 15 attempts (in 18.212891106s)
2024-03-10T22:09:39Z proxy[e28650e0f67458] fra [info]waiting for machine to be reachable on 0.0.0.0:8080 (waited 15.275150509s so far)
2024-03-10T22:09:39Z proxy[e28650e0f67458] fra [info]waiting for machine to be reachable on 0.0.0.0:8080 (waited 7.363274327s so far)
2024-03-10T22:09:44Z proxy[e28650e0f67458] fra [error]failed to connect to machine: gave up after 15 attempts (in 20.278874929s)
2024-03-10T22:09:44Z proxy[e28650e0f67458] fra [info]Starting machine
2024-03-10T22:09:44Z app[e28650e0f67458] fra [info][ 0.041292] PCI: Fatal: No config space access function found
2024-03-10T22:09:44Z app[e28650e0f67458] fra [info] INFO Starting init (commit: 913ad9c)...
2024-03-10T22:09:44Z app[e28650e0f67458] fra [info] INFO Preparing to run: `/cnb/process/web` as heroku
2024-03-10T22:09:44Z app[e28650e0f67458] fra [info] INFO [fly api proxy] listening at /.fly/api
2024-03-10T22:09:44Z app[e28650e0f67458] fra [info]2024/03/10 22:09:44 listening on [fdaa:0:d795:a7b:13c:a037:d151:2]:22 (DNS: [fdaa::3]:53)
2024-03-10T22:09:44Z runner[e28650e0f67458] fra [info]Machine started in 644ms
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]> snow@1.0.0 start
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]> node ./bin/www
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! code EACCES
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! syscall mkdir
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! path /layers/heroku_nodejs-npm-install
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! errno -13
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! Error: EACCES: permission denied, mkdir '/layers/heroku_nodejs-npm-install'
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! [Error: EACCES: permission denied, mkdir '/layers/heroku_nodejs-npm-install'] {
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! errno: -13,
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! code: 'EACCES',
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! syscall: 'mkdir',
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! path: '/layers/heroku_nodejs-npm-install'
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! }
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR!
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! The operation was rejected by your operating system.
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! It is likely you do not have the permissions to access this file as the current user
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR!
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! If you believe this might be a permissions issue, please double-check the
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! permissions of the file and its containing directories, or try running
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! the command again as root/Administrator.
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! Log files were not written due to an error writing to the directory: /layers/heroku_nodejs-npm-install/npm_cache/_logs
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
2024-03-10T22:09:45Z proxy[e28650e0f67458] fra [info]waiting for machine to be reachable on 0.0.0.0:8080 (waited 13.367068929s so far)
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info] INFO Main child exited normally with code: 243
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info] INFO Starting clean up.
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)
2024-03-10T22:09:45Z app[e28650e0f67458] fra [info]2024/03/10 22:09:45 listening on [fdaa:0:d795:a7b:13c:a037:d151:2]:22 (DNS: [fdaa::3]:53)
2024-03-10T22:09:45Z proxy[e28650e0f67458] fra [info]machine started in 1.649226145s
2024-03-10T22:09:46Z proxy[e28650e0f67458] fra [error]instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)
2024-03-10T22:09:46Z app[e28650e0f67458] fra [info][ 2.287571] reboot: Restarting system
2024-03-10T22:09:46Z runner[e28650e0f67458] fra [info]machine has reached its max restart count (10)
2024-03-10T22:09:50Z proxy[e28650e0f67458] fra [info]waiting for machine to be reachable on 0.0.0.0:8080 (waited 18.374572789s so far)
2024-03-10T22:09:51Z proxy[e28650e0f67458] fra [info]Starting machine
2024-03-10T22:09:51Z app[e28650e0f67458] fra [info][ 0.042939] PCI: Fatal: No config space access function found
2024-03-10T22:09:51Z app[e28650e0f67458] fra [info] INFO Starting init (commit: 913ad9c)...
2024-03-10T22:09:51Z app[e28650e0f67458] fra [info] INFO Preparing to run: `/cnb/process/web` as heroku
2024-03-10T22:09:51Z app[e28650e0f67458] fra [info] INFO [fly api proxy] listening at /.fly/api
2024-03-10T22:09:51Z app[e28650e0f67458] fra [info]2024/03/10 22:09:51 listening on [fdaa:0:d795:a7b:13c:a037:d151:2]:22 (DNS: [fdaa::3]:53)
2024-03-10T22:09:52Z runner[e28650e0f67458] fra [info]Machine started in 672ms
2024-03-10T22:09:52Z proxy[e28650e0f67458] fra [error]failed to connect to machine: gave up after 15 attempts (in 20.375680078s)
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]> snow@1.0.0 start
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]> node ./bin/www
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! code EACCES
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! syscall mkdir
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! path /layers/heroku_nodejs-npm-install
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! errno -13
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! Error: EACCES: permission denied, mkdir '/layers/heroku_nodejs-npm-install'
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! [Error: EACCES: permission denied, mkdir '/layers/heroku_nodejs-npm-install'] {
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! errno: -13,
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! code: 'EACCES',
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! syscall: 'mkdir',
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! path: '/layers/heroku_nodejs-npm-install'
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! }
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR!
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! The operation was rejected by your operating system.
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! It is likely you do not have the permissions to access this file as the current user
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR!
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! If you believe this might be a permissions issue, please double-check the
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! permissions of the file and its containing directories, or try running
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! the command again as root/Administrator.
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! Log files were not written due to an error writing to the directory: /layers/heroku_nodejs-npm-install/npm_cache/_logs
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]npm ERR! You can rerun the command with `--loglevel=verbose` to see the logs in your terminal
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info] INFO Main child exited normally with code: 243
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info] INFO Starting clean up.
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info] WARN hallpass exited, pid: 306, status: signal: 15 (SIGTERM)
2024-03-10T22:09:52Z app[e28650e0f67458] fra [info]2024/03/10 22:09:52 listening on [fdaa:0:d795:a7b:13c:a037:d151:2]:22 (DNS: [fdaa::3]:53)