Project icon indicating copy to clipboard operation
Project copied to clipboard

Issues with Bootstrap Script and Start Script

Open horganista32 opened this issue 1 year ago • 0 comments

Hello,

I've followed all of the steps to build the Project and once I get to Step 4, running the bootstrap script, I get a series of errors:

 > [noter-frontend 5/8] RUN npm ci:
14.76 npm ERR! code ELIFECYCLE
14.76 npm ERR! errno 1
14.77 npm ERR! [email protected] postinstall: `node scripts/build.js`
14.77 npm ERR! Exit status 1
14.77 npm ERR! 
14.77 npm ERR! Failed at the [email protected] postinstall script.
14.77 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
14.93 
14.93 npm ERR! A complete log of this run can be found in:
14.93 npm ERR!     /root/.npm/_logs/2023-12-28T04_16_06_425Z-debug.log
------
time="2023-12-27T23:15:50-05:00" level=warning msg="current commit information was not captured by the build" error="failed to read current commit information with git rev-parse --is-inside-work-tree"
failed to solve: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1

Additionally, once I try running after bootstrap, I get this error:

 > [editor  2/13] RUN apt-get update -qq   && apt-get install -y --no-install-recommends dirmngr gnupg   && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7   && apt-get install -y --no-install-recommends apt-transport-https ca-certificates   && sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger stretch main > /etc/apt/sources.list.d/passenger.list':
2.790 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
2.790 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
2.790 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
2.790 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-arm64/Packages  404  Not Found
2.790 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-arm64/Packages  404  Not Found [IP: 151.101.66.132 80]
2.790 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-arm64/Packages  404  Not Found
2.790 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
failed to solve: process "/bin/sh -c apt-get update -qq   && apt-get install -y --no-install-recommends dirmngr gnupg   && apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 561F9B9CAC40B2F7   && apt-get install -y --no-install-recommends apt-transport-https ca-certificates   && sh -c 'echo deb https://oss-binaries.phusionpassenger.com/apt/passenger stretch main > /etc/apt/sources.list.d/passenger.list'" did not complete successfully: exit code: 100

I am using an M2 Mac and have been needing to use the sudo command to get the install scripts to work, but I keep getting hung up at these parts, even with an Intel Mac.

Any suggestions on what I might be doing wrong? TIA!

horganista32 avatar Dec 28 '23 04:12 horganista32