Question

Error when building MEAN with Docker

Posted April 28, 2017 1.7k views
Docker MEAN Ubuntu 16.04

Hi there,

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 ignore@2.2.19: several bugs fixed in v3.2.1
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: 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 minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global node-gyp@3.6.0 should be installed with -g

> phantomjs-prebuilt@2.1.14 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.

Thanks!

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.

1 answer

@salopez
Are you trying to build it from here , I just did and it worked without any problems.

However you can use it like this docker run -P -d meanjs/mean.

Hope this helps.

Submit an Answer