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

npm ERR! code EAI_AGAIN #97

Open
cai2yy opened this issue Feb 17, 2020 · 0 comments
Open

npm ERR! code EAI_AGAIN #97

cai2yy opened this issue Feb 17, 2020 · 0 comments

Comments

@cai2yy
Copy link

cai2yy commented Feb 17, 2020

when '>./build_ubuntu.sh'

error log:

Sending build context to Docker daemon  2.948MB
Step 1/11 : FROM node:8.11-stretch
 ---> a74cf1832f44
Step 2/11 : ENV NODE_ENV production
 ---> Using cache
 ---> 72d9a8040a61
Step 3/11 : ENV PORT 3000
 ---> Using cache
 ---> 790ea07530cd
Step 4/11 : ENV DOCKER_SOCKET_PATH /host/var/run/docker.sock
 ---> Using cache
 ---> 7b9cbeecc72d
Step 5/11 : ENV DOCKER_CCENV_IMAGE hyperledger/fabric-ccenv:latest
 ---> Using cache
 ---> a78667fcc395
Step 6/11 : RUN mkdir /app
 ---> Using cache
 ---> d3bf18afbc86
Step 7/11 : COPY . /app
 ---> 58e68924ed95
Step 8/11 : WORKDIR /app
 ---> Running in a90b4f61f030
Removing intermediate container a90b4f61f030
 ---> bd824e97efa8
Step 9/11 : RUN npm i && npm i --only=dev && npm run build && npm prune
 ---> Running in 7b76096fe8d1
npm WARN [email protected] No repository field.
npm WARN The package autoprefixer is included as both a dev and production dependency.
npm WARN The package babel-cli is included as both a dev and production dependency.
npm WARN The package babel-eslint is included as both a dev and production dependency.
npm WARN The package babel-loader is included as both a dev and production dependency.
npm WARN The package babel-plugin-react-display-name is included as both a dev and production dependency.
npm WARN The package babel-plugin-react-intl is included as both a dev and production dependency.
npm WARN The package babel-preset-react is included as both a dev and production dependency.
npm WARN The package babel-register is included as both a dev and production dependency.
npm WARN The package colors is included as both a dev and production dependency.
npm WARN The package css-loader is included as both a dev and production dependency.
npm WARN The package eslint is included as both a dev and production dependency.
npm WARN The package eslint-plugin-async-await is included as both a dev and production dependency.
npm WARN The package eslint-plugin-import is included as both a dev and production dependency.
npm WARN The package eslint-plugin-react is included as both a dev and production dependency.
npm WARN The package exports-loader is included as both a dev and production dependency.
npm WARN The package file-loader is included as both a dev and production dependency.
npm WARN The package imports-loader is included as both a dev and production dependency.
npm WARN The package intl is included as both a dev and production dependency.
npm WARN The package node-sass is included as both a dev and production dependency.
npm WARN The package normalize-scss is included as both a dev and production dependency.
npm WARN The package npm-run-all is included as both a dev and production dependency.
npm WARN The package postcss-loader is included as both a dev and production dependency.
npm WARN The package react-foundation is included as both a dev and production dependency.
npm WARN The package react-hot-loader is included as both a dev and production dependency.
npm WARN The package rimraf is included as both a dev and production dependency.
npm WARN The package sass-loader is included as both a dev and production dependency.
npm WARN The package script-loader is included as both a dev and production dependency.
npm WARN The package style-loader is included as both a dev and production dependency.
npm WARN The package webpack is included as both a dev and production dependency.
npm WARN The package webpack-dev-middleware is included as both a dev and production dependency.
npm WARN The package webpack-hot-middleware is included as both a dev and production dependency.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/arr-diff):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/array-unique):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: request to https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443

npm ERR! code EAI_AGAIN
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.4.tgz failed, reason: getaddrinfo EAI_AGAIN registry.npmjs.org:443

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2020-02-17T13_31_17_840Z-debug.log
The command '/bin/sh -c npm i && npm i --only=dev && npm run build && npm prune' returned a non-zero code: 1
./build_ubuntu.sh: line 7: docker-compose: command not found
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

1 participant