1. 问题

运行项目,一大串不知所谓的依赖报错


其中提取到错误提示如下:

This is probably not a problem with npm. There is likely additional logging output above.

2. 解析

一般遇到此类问题基本都是 node_modules 依赖有问题,可以考虑 npm install 重新安装依赖来调试,不过需要注意的是重新安装依赖需要移除原来的依赖文件夹,有必要还需要清除npm安装缓存

3. 解决方案

我们可以通过命令按步骤处理此类问题:

  1. 在指定目录下 移除依赖文件夹
rmdir node_modules
  1. 在指定目录下 移除 package-lock.json 文件
rm package-lock.json
  1. 强制清空 npm 缓存
npm cache clean --force
  1. 重新安装依赖
npm install

修复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

    微信小程序开发交流qq群   173683895    承接微信小程序开发.扫码加微信. E:\weii_objct\invoice-manage-web-view>npm start > ...

  2. 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.这 ...

  3. 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 ...

  4. 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. 可能由于种种版本 ...

  5. 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 ...

  6. 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 ...

  7. 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 文 ...

  8. 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

  9. 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 ...

最新文章

  1. 2022-2028年中国普鲁兰多糖行业市场分析及投资前景研究报告
  2. 重构我的CMS系统,增加ORM
  3. 《Effective Python 2nd》——推导与生成
  4. 如何更方便地将谷歌翻译导入到Goldendict
  5. Linux下 SVN 常用命令
  6. 无线AP 传输、认证
  7. 扫描死链接的工具xenu
  8. oracle中cube的作用,Oraclerollup和cube分析
  9. Unity3D中unitypackage文件的图标显示及打开方式异常问题的解决方法(值得收藏)
  10. go channel的用法总结
  11. 两张图片切换比例虚拟进度条
  12. 《第五项修炼》读后感
  13. Shell if 条件判断
  14. 题目58 工厂流水线调度(ok)
  15. python编程培训杭州
  16. Unity3D-Shader之两张图片叠加并且通过颜色调控
  17. 云计算——第七天(寒假)
  18. Fortran字符串处理
  19. 游戏音乐中那些关于外包的大讲解
  20. 【题解】bzoj-1415 NOI-2005 聪聪与可可

热门文章

  1. 学习汇编语言的重要性
  2. 淘宝商品SKU接口、desc信息、淘宝商品详情API
  3. Fidder基础知识
  4. 我要搬家到51CTO了.
  5. HTML几种设置水平居中和垂直居中的方式
  6. [react] Target container is not a DOM element
  7. 4412 SPI驱动
  8. Android系统开机logo
  9. 技术管理者对知识组织的认识
  10. 【Datawhale跨模态实践学习笔记】项目后端学习