npm install fails
sejnub opened this issue · 0 comments
See
https://hub.docker.com/r/sejnub/noflo-ui/builds/bm66rahucmzpwuqpu7raodj/
for build details!
Dockerfile
FROM node
RUN git clone https://github.com/noflo/noflo-ui.git
RUN cd /noflo-ui && npm install
RUN cd /noflo-ui && npm install -g grunt-cli
RUN cd /noflo-ui && grunt build
RUN cd /noflo-ui && npm install simple-server
RUN echo "cd /noflo-ui && ./node_modules/.bin/simple-server . 80" > /noflo-ui/start.sh && chmod +x /noflo-ui/start.sh
CMD /noflo-ui/start.sh
EXPOSE 80
Logs
�[91mnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
�[0m
�[91mnpm ERR! Linux 4.4.0-59-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v7.6.0
npm ERR! npm v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! the-graph@0.6.1 postinstall: bower install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the the-graph@0.6.1 postinstall script 'bower install'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the the-graph package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bower install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs the-graph
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls the-graph
npm ERR! There is likely additional logging output above.
�[0m
�[91m
npm ERR! Please include the following file with any support request:
npm ERR! /noflo-ui/npm-debug.log
�[0m
Removing intermediate container 210d2c5c29a0
The command '/bin/sh -c cd /noflo-ui && npm install' returned a non-zero code: 1