安装 npm i element-ui -S 遇到的坑

42 篇文章 1 订阅

no such file or directory, rename ‘D:myvue06 ode_modulesabel-runtime ode_modulescore-js’ -> ‘D:myvue06 ode_modulesabel-runtime ode_modules.core-js.DELETE’

npm WARN deprecated core-js@2.6.12: core-js@<3.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm ERR! code ENOENT
npm ERR! syscall rename
npm ERR! path D:myvue06
ode_modulesabel-runtime
ode_modulescore-js
npm ERR! dest D:myvue06
ode_modulesabel-runtime
ode_modules.core-js.DELETE
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, rename 'D:myvue06
ode_modulesabel-runtime
ode_modulescore-js' -> 'D:myvue06
ode_modulesabel-runtime
ode_modules.core-js.DELETE'
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!     E:
odejs
ode_cache_logs?1-10-29T02_14_54_027Z-debug.log

删除node_module

我初始化好了项目 然后我就删了那些不要的组件 然后我就安装 安装失败 我就把那几个删掉的组件还原回来 再次安装 还是失败。我把node_module删了 安装成功。我觉得很奇怪,于是我又把那几个不要的组件删了 又报错。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值