当前位置:网站首页>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
文件夹。
边栏推荐
- PAT乙级 1001 害死人不偿命的(3n+1)猜想
- Risk strategy important steps of tuning method
- MySQL-数据操作-分组查询-连接查询-子查询-分页查询-联合查询
- Selenium: mouse, keyboard events
- PaddleX部署推理模型和GUI界面测试结果不一致的解决方法
- Selenium:浏览器操作
- pytorch、tensorflow对比学习—计算图和微分机制
- typescript23-tuple
- WPF项目-按着键盘方向键,移动格子盒子效果
- y83.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十四)
猜你喜欢
MySQL-DML语言-数据库操作语言-insert-update-delete-truncate
使用string 容器翻转 字母
(Codeforce 757) E. Bash Plays with Functions
可持久化线段树
PAT serie b write the number 1002
Malicious attacks on mobile applications surge by 500%
万字逐行解析与实现Transformer,并进行德译英实战(一)
pytroch、tensorflow对比学习—专栏介绍
MySQL-Data Definition Language-DDLdatebase define language
typescript25 - type assertion
随机推荐
y83. Chapter 4 Prometheus Factory Monitoring System and Actual Combat -- Advanced Prometheus Alarm Mechanism (14)
ModuleNotFoundError: No module named ‘tensorflow.keras‘报错信息的解决方法
Use controls as brushes to get bitmap code records
II. Binary tree to Offer 68 - recent common ancestor
PAT serie b write the number 1002
使用string 容器翻转 字母
导致锁表的原因及解决方法
Selenium: element positioning
SL-12/2过流继电器
(Codeforce 757) E. Bash Plays with Functions
Selenium: Dropdown Box Actions
Swastika line-by-line parsing and realization of the Transformer, and German translation practice (a)
NDK does not contain any platforms problem solving
备战金九银十,如何顺利通过互联网大厂Android的笔面试?
关于给Qt做一个软件初始化的进度条
Selenium:简介
USB3.0:VL817Q7-C0的LAYOUT指南(三)
pytorch、tensorflow对比学习—功能组件(激活函数、模型层、损失函数)
Selenium:弹窗处理
Power button (LeetCode) 212. The word search II (2022.07.31)