-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running docker-compose up #1
Comments
It appears that the npm install stage of building your docker is failing for some reason, never seen this before. Does the same thing happen if you run npm install manually in root of the project directory without running docker? |
"npm install" works just fine. Just a problem with the docker compose command |
I had a similar issue, although I got different errors when using: docker-compose up:
By running npm install manually in the repository root and then trying docker-compose up again the app starts. |
Description
When running "docker-compose up" I get an error when building:
docker-compose up
/bin/sh: /tmp/_MEIwKK0ff/libtinfo.so.5: no version information available (required by /bin/sh)
Creating network "simpleeventsender_default" with the default driver
Creating volume "simpleeventsender_mongodb_data" with local driver
Creating volume "simpleeventsender_rabbitmqdata" with local driver
Pulling rabbitmq (rabbitmq:3.7-management)...
3.7-management: Pulling from library/rabbitmq
7ddbc47eeb70: Already exists
c1bbdc448b72: Already exists
8c3b70e39044: Already exists
45d437916d57: Already exists
916459a32f87: Pull complete
4987fa1cb144: Pull complete
d3294ff2c0a8: Pull complete
406f5e6fcfa0: Pull complete
b05aaa15c38e: Pull complete
bc2fb2d60176: Pull complete
aa0f9df2e3e0: Pull complete
650a72f684b3: Pull complete
Digest: sha256:244eaab4d838472e42f64abf7e616fdc8611858ab67dd9b2f9aaa54c490e8542
Status: Downloaded newer image for rabbitmq:3.7-management
Building app
Step 1/6 : FROM node:10
10: Pulling from library/node
844c33c7e6ea: Pull complete
ada5d61ae65d: Pull complete
f8427fdf4292: Pull complete
f025bafc4ab8: Pull complete
7a9577c07934: Pull complete
9b4289f800f5: Pull complete
9b8b4aee1f5f: Pull complete
44594f2195cd: Pull complete
b0d47c2d812b: Pull complete
Digest: sha256:be69034700545030c110f67ae22e0584ddd59eeb2af81e4bd7f16f3ba5fa93a6
Status: Downloaded newer image for node:10
---> d5680e53a228
Step 2/6 : WORKDIR /simple_event_sender
---> Running in b02cbc2eb8ad
Removing intermediate container b02cbc2eb8ad
---> 6a500f117e5b
Step 3/6 : COPY package*.json ./
---> 7c2a85fc25e3
Step 4/6 : RUN npm install
---> Running in 5c780498fdc5
npm WARN [email protected] No description
npm ERR! Maximum call stack size exceeded
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-12-11T09_17_03_197Z-debug.log
ERROR: Service 'app' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1
Motivation
Installation guide should work :)
Exemplification
Stuff works
Benefits
Stuff works
Possible Drawbacks
None
The text was updated successfully, but these errors were encountered: