Skip to content
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

Docker no funciona #41

Open
insigniadb opened this issue May 18, 2022 · 1 comment
Open

Docker no funciona #41

insigniadb opened this issue May 18, 2022 · 1 comment

Comments

@insigniadb
Copy link

Intenté ejecutar la imagen via docker-compose como indica en el readme y no llegó a hacer el build:

~/nolaborables$ docker-compose up

Sending build context to Docker daemon  52.79kB
Step 1/11 : FROM node:10-slim
10-slim: Pulling from library/node
62deabe7a6db: Pull complete 
f698164f6049: Pull complete 
bc29352cb629: Pull complete 
85e84b4c858f: Pull complete 
ac72e4359589: Pull complete 
Digest: sha256:88932859e3d022d79161b99628c4c2c50e836437455e2d1b1a008d98367b10d6
Status: Downloaded newer image for node:10-slim
 ---> 6fbcbbb5c603
Step 2/11 : RUN npm i npm@latest -g
 ---> Running in 5504b8e16ad3
/usr/local/bin/npm -> /usr/local/lib/node_modules/npm/bin/npm-cli.js
/usr/local/bin/npx -> /usr/local/lib/node_modules/npm/bin/npx-cli.js
npm WARN notsup Unsupported engine for [email protected]: wanted: {"node":"^12.13.0 || ^14.15.0 || >=16"} (current: {"node":"10.24.1","npm":"6.14.12"})
npm WARN notsup Not compatible with your version of node/npm: [email protected]

+ [email protected]
added 63 packages from 18 contributors, removed 297 packages and updated 138 packages in 6.558s
Removing intermediate container 5504b8e16ad3                                                                                                                                                                                    
 ---> 1fea42545606                                                                                                                                                                                                              
Step 3/11 : RUN npm install pm2 -g                                                                                                                                                                                              
 ---> Running in 2f523828dc8c                                                                                                                                                                                                   
ERROR: npm is known not to run on Node.js v10.24.1                                                                                                                                                                              
You'll need to upgrade to a newer Node.js version in order to use this                                                                                                                                                          
version of npm. You can find the latest version at https://nodejs.org/                                                                                                                                                          
1 error occurred:                                                                                                                                                                                                               
        * Status: The command '/bin/sh -c npm install pm2 -g' returned a non-zero code: 1, Code: 1
@pbendersky
Copy link
Contributor

Dejé un fix en #50

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

No branches or pull requests

2 participants