Docker npm install fails Docker npm install fails docker docker

Docker npm install fails


Not sure, but 1st: you can try install with sudo npm install, and 2nd you can try to install on this machine node-gyp and pyton 2.7 . If module during installation require compilation of node extension, then you will need these two things.

3rd. How we usually debug: Create an image on the state before failing command. run container with interactive shell (with -it). login inside. And run npm install by hands. See and understand output there. Fix.