当前位置:网站首页>vsce package 后出现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error异常
vsce package 后出现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error异常
2022-08-01 05:18:00 【集电极】
vsce package 后出现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error 。missing: [email protected]^2.10.0, required by [email protected]
说明,我是在尝试打包VScode插件时弹出这个错误
我在网上搜索资料发现 Command failed: npm list --production --parseable --depth=99999 --loglevel=error
很多情况都可能导致这个错误。请大家注意甄别情况。
原因
经过我排除发现,我出现这个错误的原因时因为我一开始安装 vsce
包时是当前位置安装,后面我觉得不妥就改为全局安装。然后错误的操作来了,我没有卸载当前位置安装的 vsce, 而是直接删除了node_modules 文件夹
。 就是没有卸载再删除,导致 vsce package
命令不能正确执行,从而出现错误。
解决方法
重新在当前位置安装 vsce
包,npm install vsce
,
使用 npm uninstall vsce
卸载。
最后可以选择删除 node_modules
文件夹。
边栏推荐
- Robot_Framework: commonly used built-in keywords
- 牛客多校2022第四场A,H,K,N
- Robot_Framework:关键字
- (2022 Niu Ke Duo School IV) N-Particle Arts (Thinking)
- y83.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十四)
- Selenium:操作JS
- pytroch、tensorflow对比学习—专栏介绍
- Selenium: Dropdown Box Actions
- PAT class B 1001 (3n+1) conjecture
- Typescript22 - interface inheritance
猜你喜欢
pytroch、tensorflow对比学习—使用GPU训练模型
pytroch、tensorflow对比学习—搭建模型范式(低阶、中阶、高阶API示例)
牛客多校2022第四场A,H,K,N
Pyspark Machine Learning: Vectors and Common Operations
(2022 Niu Ke Duo School IV) N-Particle Arts (Thinking)
Selenium: Popup Handling
Robot_Framework: keyword
(Codeforce 757) E. Bash Plays with Functions
Typescript20 - interface
MySQL-数据定义语言-DDLdatebase define language
随机推荐
移动应用恶意攻击激增500% 三六零天御为APP免费构建安全屏障
类神经网络训练不起来怎么办
MySQL-Data Definition Language-DDLdatebase define language
Selenium: mouse, keyboard events
What should I do if the neural network cannot be trained?
About making a progress bar for software initialization for Qt
Code Interview Guide for Programmers CD15 Generating an Array of Windowed Maximums
Pyspark Machine Learning: Vectors and Common Operations
Logitech Mouse Experience Record
MySQL-数据定义语言-DDLdatebase define language
Immutable
The solution to the inconsistency between the PaddleX deployment inference model and the GUI interface test results
LeetCode 9. 回文数
Robot growth in China
Selenium: element judgment
2022.7.26 模拟赛
状态压缩dp
Selenium:操作Cookie
pytorch、tensorflow对比学习—功能组件(优化器、评估指标、Module管理)
挑战52天背完小猪佩奇(第01天)