Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Service 'web-data' failed to build in using the docker-compose up #1594

Closed
helxsz opened this issue Oct 24, 2016 · 3 comments
Closed

Service 'web-data' failed to build in using the docker-compose up #1594

helxsz opened this issue Oct 24, 2016 · 3 comments

Comments

@helxsz
Copy link

helxsz commented Oct 24, 2016

trying to setup docker and MEANJS in ubuntu 16.04. I installed docker and docker-compose in latest version and have the latest MEANJS commit.

Step 8 : RUN npm install --quiet -g gulp bower yo mocha karma-cli pm2 && npm cache clean
 ---> Running in 4399c1d4a83b
npm WARN deprecated npmconf@2.1.2: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/usr/bin/karma -> /usr/lib/node_modules/karma-cli/bin/karma
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
/usr/bin/mocha -> /usr/lib/node_modules/mocha/bin/mocha
/usr/bin/_mocha -> /usr/lib/node_modules/mocha/bin/_mocha
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.
Killed
ERROR: Service 'web-data' failed to build: The command '/bin/sh -c npm install --quiet -g gulp bower yo mocha karma-cli pm2 && npm cache clean' returned a non-zero code: 137

How can I solve this issue ?

@lirantal
Copy link
Member

@helxsz is it possible that you don't have enough memory or something killed the docker-compose process? what happens if you try to issue another 'docker-compose up', does it continue to built it ok or which error do you get?

@helxsz
Copy link
Author

helxsz commented Oct 28, 2016

@lirantal I think you might be right, the online server with 2G memory doesn't seem to enough to work with the docker-compose process, it works while I changed to 4G memory.

@lirantal
Copy link
Member

@helxsz check out my new PR for improving the docker image: #1603

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants