Error when building MEAN with Docker
I am having an issue when trying to build MEAN with docker. Error I got is:
Step 12/17 : RUN npm install --quiet && npm cache clean ---> Running in dc104140e806 npm WARN deprecated email@example.com: several bugs fixed in v3.2.1 npm WARN deprecated firstname.lastname@example.org: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated email@example.com: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN deprecated firstname.lastname@example.org: graceful-fs v3.0.0 and before will fail on node releases >= v7.0. Please update to graceful-fs@^4.0.0 as soon as possible. Use 'npm ls graceful-fs' to find it in the tree. npm WARN deprecated email@example.com: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue npm WARN prefer global firstname.lastname@example.org should be installed with -g > email@example.com install /opt/mean.js/node_modules/phantomjs-prebuilt > node install.js ERROR: Service 'web-data' failed to build: The command '/bin/sh -c npm install --quiet && npm cache clean' returned a non-zero code: 1
Please, can you help me? I couldn’t find anything on the net about this error.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.