npm WARN deprecated [email protected]: This project has been renamed to 'tasksfile'. Install using 'npm install tasksfile' instead.
npm WARN deprecated [email protected]: Package no longer supported. Contact [email protected] for more info.
npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated [email protected]: Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit https://github.com/lukeed/kleur/releases/tag/v3.0.0\ for migration path(s).
npm ERR! path git
npm ERR! code ENOENT
npm ERR! errno ENOENT
npm ERR! syscall spawn git
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t ssh://[email protected]/sohee-lee7/Squire.git
npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
依赖没有安装好。npm install一下或者把node_modules删除重新npm install
4404 verbose stack Error: exited with error code: 128
4404 verbose stack at ChildProcess.
4404 verbose stack at ChildProcess.emit (events.js:189:13)
4404 verbose stack at maybeClose (internal/child_process.js:970:16)
4404 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
4405 verbose cwd C:\Userscarigold\Downloads\vue-element-admin-master
4406 verbose Windows_NT 10.0.17134
4407 verbose argv "D:\Program Files\nodejs\node.exe" "D:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
4408 verbose node v10.15.3
4409 verbose npm v6.4.1
4410 error Error while executing:
4410 error D:carigold\PortableGit\bin\git.EXE ls-remote -h -t ssh://[email protected]/sohee-lee7/Squire.git
4410 error
4410 error undefined
4410 error exited with error code: 128
4411 verbose exit [ 1, true ]
清除缓存重新npm install 还是不行啊
同问
please change to 'cnpm install'......, I have resolved this problem.
please change to 'cnpm install'......, I have resolved this problem.
------------------ 原始邮件 ------------------
发件人: "zehongfan"notifications@github.com;
发送时间: 2019年7月12日(星期五) 上午10:18
收件人: "PanJiaChen/vue-element-admin"vue-element-admin@noreply.github.com;
抄送: "df+"455626828@qq.com;"Author"author@noreply.github.com;
主题: Re: [PanJiaChen/vue-element-admin] 安装错误 (#2308)
同问
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
yarn fail +1
error An unexpected error occurred: "https://raw.githubusercontent.com/sohee-lee7/Squire/b1e0e1031fa18912d233c204cbe7c7fae4a42621/package.json: ETIMEDOUT".
info If you think this is a bug, please open a bug report with the information provided in "/Users/zyk/Documents/www/zyk/banyu/classroom-review-admin/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
try git config --global url."https://github".insteadOf github:
同样的问题,在自己电脑上不报错。在服务器上构建报错
My solution is to reset NPM registry,
npm config set registry https://registry.npm.taobao.org
npm info underscore
It's successed!



git config --global url."https://github".insteadOf github:这个命令不起作用,使用yarn依旧报错,npm可以安装
在hosts文件加入下面配置就可以了,顶起来
199.232.68.133 raw.githubusercontent.com
@Littleiii You must be the top
Most helpful comment
在hosts文件加入下面配置就可以了,顶起来