广告
返回顶部
首页 > 资讯 > 前端开发 > JavaScript >npm报错"A complete log of this run can be found in:"的解决办法
  • 225
分享到

npm报错"A complete log of this run can be found in:"的解决办法

npm报错解决a complete log of this run can be found in 2023-05-14 17:05:18 225人浏览 独家记忆
摘要

目录一, 问题原因二,解决方法总结npm 启动项目 npm run serve/dev的时候报了个错:再次记录一下 ! code ELIFECYCLEnpm ERR! errno 1

npm 启动项目 npm run serve/dev的时候报了个错:再次记录一下

! code ELIFECYCLE
npm ERR! errno 1
npm ERR! new@0.1.0 serve: Vue-cli-service serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the new@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2023-02-06T14_17_03_399Z-debug.log

一, 问题原因

项目启动失败,一直报错,翻译一下,大概意思就是依赖包或者模板有问题

二,解决方法

1.需要找到node_modules把这个文件夹删掉

如下图

2.然后cmd或者vscode终端再运行npm install即可,这个命令会重新安装一下依赖包,最后在执行npm run servenpm run dev就可以解决啦!

总结

到此这篇关于npm报错"A complete log of this run can be found in:"解决办法的文章就介绍到这了,更多相关npm报错A complete log of this run can be found in内容请搜索编程网以前的文章或继续浏览下面的相关文章希望大家以后多多支持编程网!

--结束END--

本文标题: npm报错"A complete log of this run can be found in:"的解决办法

本文链接: https://www.lsjlt.com/news/203355.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作