-
Notifications
You must be signed in to change notification settings - Fork 306
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搭建时遇到问题 #17
Comments
好像版本那里出现了什么格式问题 请忽略删除线 |
已经更新部署方式,去掉了拉取npm的方式。分为本地部署、服务器部署。 |
感谢反馈~ |
辛苦加下我微信 drunk_kk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
以下是报错:
root@ruleaker:~/Desktop/linglong-master# docker-compose up -d
/usr/local/lib/python2.7/dist-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.
from cryptography.hazmat.backends import default_backend
Building web
Step 1/11 : FROM node:latest as build-stage
---> 34c1219e2da7
Step 2/11 : MAINTAINER drunk_kk
---> Using cache
---> c83cdc2c5bcd
Step 3/11 : RUN npm install -g cnpm --registry=https://registry.npm.taobao.org
---> Running in 3023c47a1f41
npm ERR! code EAI_AGAIN
npm ERR! syscall getaddrinfo
npm ERR! errno EAI_AGAIN
npm ERR! request to https://registry.npm.taobao.org/cnpm failed, reason: getaddrinfo EAI_AGAIN registry.npm.taobao.org
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2021-02-25T03_48_44_817Z-debug.log
ERROR: Service 'web' failed to build: The command '/bin/sh -c npm install -g cnpm --registry=https://registry.npm.taobao.org' returned a non-zero code: 1
以下是npm以及cnpm版本
root@ruleaker:
# cnpm -v# npm -vcnpm@6.1.1 (/usr/local/lib/node_modules/cnpm/lib/parse_argv.js)
npm@6.14.11 (/usr/local/lib/node_modules/cnpm/node_modules/npm/lib/npm.js)
node@12.20.1 (/usr/bin/node)
npminstall@3.28.0 (/usr/local/lib/node_modules/cnpm/node_modules/npminstall/lib/index.js)
prefix=/usr/local
linux x64 5.7.0-kali1-amd64
registry=https://r.npm.taobao.org
root@ruleaker:
7.5.6
环境:
VMware虚拟机 Kali 2020.1
桥接模式
网络是高中校园网屏蔽了一些网站比如p站 但是淘宝是上的去的 应该不是代理问题, 额 语言不够严谨请见谅 高一学生 还需要多多学习 需要前辈指点帮助
The text was updated successfully, but these errors were encountered: