-
Notifications
You must be signed in to change notification settings - Fork 30
Description
While following the guide, I used
git push balena master
Step 1/9 : FROM balenalib/raspberrypi3-node:12-run
---> 64d4d9c241bb
Step 2/9 : RUN mkdir -p /usr/src/app/
Using cache
---> 3ef7c60c0903
Step 3/9 : WORKDIR /usr/src/app
Using cache
---> 3ff15989b2e6
Step 4/9 : COPY ./app/package.json ./
Using cache
---> 8d66e136d718
Step 5/9 : RUN npm install --unsafe-perm -g node-file-manager
---> Running in 30b017403de0
npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /usr/local/lib/node_modules/node-file-manager/node-file-manager/bin/node-file-manager.sh
npm ERR!
errno -2
npm ERR!
enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/node-file-manager/node-file-manager/bin/node-file-manager.sh'
npm ERR!
enoent This is related to npm not being able to find a file.
npm
ERR!
enoent
npm
ERR!
A complete log of this run can be found in:
npm
ERR!
/root/.npm/_logs/2020-06-27T19_10_35_184Z-debug.log
The command '/bin/sh -c npm install --unsafe-perm -g node-file-manager' returned a non-zero code: 254
[Info] Uploading images
[Success] Successfully uploaded images
[Error] Some services failed to build:
[Error] Service: file-manager
[Error] Error: The command '/bin/sh -c npm install --unsafe-perm -g node-file-manager' returned a non-zero code: 254
[Info] Built on arm01
[Error] Not deploying release
Any way to fix this?
Thanks