git报错 npm ERR! syscall stat 解决办法

简介: git报错 npm ERR! syscall stat 解决办法

命令行中执行git init以后报错:

npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /Users/paperclouds/https:/registry.npm.taobao.org/vue/download/vue-2.6.11.tgz
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, stat '/Users/paperclouds/https:/registry.npm.taobao.org/vue/download/vue-2.6.11.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 
npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/paperclouds/.npm/_logs/2020-04-05T05_32_13_488Z-debug.log


解决办法:

执行命令

npm init -y


目录
相关文章
|
20天前
|
JavaScript
报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
报错:npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
|
30天前
|
开发工具 git
Git上传出现:The requested URL returned error: 403解决办法
Git上传出现:The requested URL returned error: 403解决办法
21 0
|
30天前
|
开发工具 数据安全/隐私保护 git
git报错: git: not authorized :未经授权解决办法
git报错: git: not authorized :未经授权解决办法
14 0
|
1月前
|
缓存 资源调度
解决安装依赖时报错:npm ERR! code ERESOLVE
解决安装依赖时报错:npm ERR! code ERESOLVE
176 0
解决安装依赖时报错:npm ERR! code ERESOLVE
|
2月前
|
缓存 JavaScript 测试技术
软件测试/测试开发|npm常见报错解析
软件测试/测试开发|npm常见报错解析
45 0
|
2月前
|
Python
NPM【问题 01】npm i node-sass@4.14.1报错not found: python2及Cannot download问题处理
NPM【问题 01】npm i node-sass@4.14.1报错not found: python2及Cannot download问题处理
43 0
|
2月前
|
前端开发 JavaScript
Vue中引入swiper插件报错:To install it, you can run: npm install --save swiper/css/swiper.css
Vue中引入swiper插件报错:To install it, you can run: npm install --save swiper/css/swiper.css
|
2月前
npm ERR! code ENOENT npm ERR! syscall open npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file
npm ERR! code ENOENT npm ERR! syscall open npm ERR! errno -4058 npm ERR! enoent ENOENT: no such file
|
2月前
|
JavaScript
Vue报错:npm run start npm ERR! missing script: start
Vue报错:npm run start npm ERR! missing script: start
|
3月前
cnpm i安装报错-Install fail! Error: Unsupported URL Type: npm:vue-loader@^15.9.7
cnpm i安装报错-Install fail! Error: Unsupported URL Type: npm:vue-loader@^15.9.7
74 1

相关产品

  • 云迁移中心
  • 相关实验场景

    更多

    推荐镜像

    更多