修复This is probably not a problem with npm. There is likely additional logging output above.依赖问题
1. 问题
运行项目,一大串不知所谓的依赖报错
其中提取到错误提示如下:
This is probably not a problem with npm. There is likely additional logging output above.
2. 解析
一般遇到此类问题基本都是 node_modules
依赖有问题,可以考虑 npm install
重新安装依赖来调试,不过需要注意的是重新安装依赖需要移除原来的依赖文件夹,有必要还需要清除npm安装缓存
3. 解决方案
我们可以通过命令按步骤处理此类问题:
- 在指定目录下 移除依赖文件夹
rmdir node_modules
- 在指定目录下 移除 package-lock.json 文件
rm package-lock.json
- 强制清空 npm 缓存
npm cache clean --force
- 重新安装依赖
npm install
修复This is probably not a problem with npm. There is likely additional logging output above.依赖问题相关推荐
- This is probably not a problem with npm. There is likely additional logging output above
微信小程序开发交流qq群 173683895 承接微信小程序开发.扫码加微信. E:\weii_objct\invoice-manage-web-view>npm start > ...
- This is probably not a problem with npm. There is likely additional logging output above. 报错
今天写项目时,遇到了This is probably not a problem with npm. There is likely additional logging output above.这 ...
- npm报错 This is probably not a problem with npm,there is likely additional logging output above可能的原因
1 npm WARN Local package.json exists, but node_modules missing, did you mean to install? 解决方法: 输入npm ...
- Angular:This is probably not a problem with npm,There is likely additional logging output above.报错
报错This is probably not a problem with npm. There is likely additional logging output above. 可能由于种种版本 ...
- vue项目,报错This is probably not a problem with npm,there is likely additional logging output above
在网上找了一下原因,是因为脚手架工具升级导致的 解决方案: npm install 安装新的版本,即可解决 运行 npm i -D webpack-dev-server@3.1.5 npm更新 npm ...
- vue打包This is probably not a problem with npm. There is likely additional logging output above
报错后疯狂搜索 有的把node_modules文件夹删除再下载或者package-lock.json文件也删除 (删除我用的插件) rm -rf node_modules rm package-loc ...
- Vue启动报错This is probably not a problem with npm. There is likely additional logging output above.
出现原因:Vue项目中node_modules包里缺少相关插件和依赖,当拉取别人的项目时不能直接运行. 第1步 删除项目中的 node_modules 文件夹和 package-lock.json 文 ...
- This is probably not a problem with npm. There is likely additional logging output above. 报错解决思路
1.删除 node_modules 文件夹 2.删除 package-lock.json 文件 3.npm cache clean --force 4.npm install
- npm install引起的项目崩溃(This is probably not a problem with npm,there is likely additional logging outp)
报错This is probably not a problem with npm. There is likely additional logging output above. 参照一篇文章,w ...
最新文章
- 2022-2028年中国普鲁兰多糖行业市场分析及投资前景研究报告
- 重构我的CMS系统,增加ORM
- 《Effective Python 2nd》——推导与生成
- 如何更方便地将谷歌翻译导入到Goldendict
- Linux下 SVN 常用命令
- 无线AP 传输、认证
- 扫描死链接的工具xenu
- oracle中cube的作用,Oraclerollup和cube分析
- Unity3D中unitypackage文件的图标显示及打开方式异常问题的解决方法(值得收藏)
- go channel的用法总结
- 两张图片切换比例虚拟进度条
- 《第五项修炼》读后感
- Shell if 条件判断
- 题目58 工厂流水线调度(ok)
- python编程培训杭州
- Unity3D-Shader之两张图片叠加并且通过颜色调控
- 云计算——第七天(寒假)
- Fortran字符串处理
- 游戏音乐中那些关于外包的大讲解
- 【题解】bzoj-1415 NOI-2005 聪聪与可可