当前位置:网站首页>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 文件夹。
边栏推荐
- typescript24 - type inference
- Selenium: form switching
- The solution to the inconsistency between the PaddleX deployment inference model and the GUI interface test results
- Robot_Framework: keyword
- Selenium: Popup Handling
- [target detection] YOLOv7 theoretical introduction + practical test
- 字符中的第一个唯一字符
- pytroch、tensorflow对比学习—功能组件(数据管道、回调函数、特征列处理)
- Selenium:元素等待
- Selenium:简介
猜你喜欢

I met a shell script

剑指 Offer 68 - II. 二叉树的最近公共祖先

(2022牛客多校四)A-Task Computing (排序+动态规划)

typescript27 - what about enumeration types

Logitech Mouse Experience Record

MySQL-数据操作-分组查询-连接查询-子查询-分页查询-联合查询

类神经网络训练不起来怎么办

The difference between scheduleWithFixedDelay and scheduleAtFixedRate

typescript26 - literal types
![[MySQL] 多表查询](/img/f0/c158750a5a84155ee82729daba2bb3.png)
[MySQL] 多表查询
随机推荐
typescript23-tuple
MySQL实践总结-
MySQL Practice Summary -
56:第五章:开发admin管理服务:9:开发【文件上传到,MongoDB的GridFS中,接口】;(把文件上传到GridFS的SOP)
The method of solving stored procedure table name passing through variable in mysql
剑指 Offer 68 - II. 二叉树的最近公共祖先
Asynchronous reading and writing of files
y83. Chapter 4 Prometheus Factory Monitoring System and Actual Combat -- Advanced Prometheus Alarm Mechanism (14)
WPF项目-按着键盘方向键,移动格子盒子效果
Typescript22 - interface inheritance
Use controls as brushes to get bitmap code records
NDK does not contain any platforms问题解决
typescript24 - type inference
AspNet.WebApi.Owin 自定义Token请求参数
Seleniu:元素常用操作
I met a shell script
微信小程序接口调用凭证(获取token)auth.getAccessToken接口开发
Selenium: form switching
pytroch、tensorflow对比学习—使用GPU训练模型
typescript21 - Comparison of Interfaces and Type Aliases