【vue报错笔记】These dependencies were not found:* core-js/modules/es.....to install them, you can

这篇具有很好参考价值的文章主要介绍了【vue报错笔记】These dependencies were not found:* core-js/modules/es.....to install them, you can。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

提示:这里简述项目相关背景:

【vue报错笔记】These dependencies were not found:* core-js/modules/es.....to install them, you can


 

问题描述

提示:这里描述项目中遇到的问题:

vue项目启动报错:To install them, you can run: npm install --save core-js/modules/es.array.push.js core-js/modules/es.error.cause.js core-js/modules/es.object.proto.


原因分析:缺少core-js模块

删除node_modules,首先安装报错的core-js,然后再进行cnpm install,最后启动项目。


解决方案:

第一步: cnpm rm -rf node_modules

第二步:cnpm install --save core-js

第三步:cnpm install

最后:npm run dev文章来源地址https://www.toymoban.com/news/detail-511282.html

到了这里,关于【vue报错笔记】These dependencies were not found:* core-js/modules/es.....to install them, you can的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • npm报错:These dependencies were not found:* canvas in ./node_modules/pdfh5/js/pdf.js* dommatrix/dist/d

    npm 报错: These dependencies were not found: * canvas in ./node_modules/pdfh5/js/pdf.js * dommatrix/dist/dommatrix.js in ./node_modules/pdfh5/js/pdf.js * web-streams-polyfill/dist/ponyfill.js in ./node_modules/pdfh5/js/pdf.worker.js To install them, you can run: npm install --save canvas dommatrix/dist/dommatrix.js web-streams-polyfill/dist/ponyfill.js 不

    2024年02月05日
    浏览(76)
  • These dependencies were not found:* canvas in ./node_modules/pdfh5/js/pdf.js* dommatrix/dist/domm

    错误代码: These dependencies were not found: * canvas in ./node_modules/pdfh5/js/pdf.js * dommatrix/dist/dommatrix.js in ./node_modules/pdfh5/js/pdf.js * web-streams-polyfill/dist/ponyfill.js in ./node_modules/pdfh5/js/pdf.worker.js To install them, you can run: npm install --save canvas dommatrix/dist/dommatrix.js web-streams-polyfill/dist/ponyfill.js

    2024年02月08日
    浏览(29)
  • ERROR Failed to compile with 2 errors These relative modules were not found:

     提示在./node_modules/flatgeobuf/lib/mjs/packedrtree.js中找不到./config.js ./node_modules/flatgeobuf/lib/mjs/generic/featurecollection.js 中找不到../logger.js 如果是用vscode编写,按住ctrl+报错文件名 进入到该报错文件 根据引入  import Config from \\\'./config.js\\\' 去寻找路径\\\'./\\\'下有没有config.js文件 发现只有\\\"Conf

    2024年02月02日
    浏览(47)
  • 【异常】Jenkins执行前端项目Npm构建时,出现报错This dependency was not found: vue-class-component in ./node_modules/vu

    同事的代码变更,导致了在Jenkins无法执行构建 错误的原因是项目中引入了vue-class-component,但是在项目的依赖列表中,却没有找到它,因此会报如上的错误。 vue-class-component是一个用于类式Vue组件的TypeScript装饰器。 它允许您将Vue组件定义为类,这可以使您的代码更有组织性和

    2024年02月03日
    浏览(52)
  • git报错The project you were looking for could not be found 解决方式

    一、拉代码报错The project you were looking for could not be found 问题描述: 使用git从远程仓库克隆项目到本地的时候。 出现这个问题:The project you were looking for could not be found. 原因分析: 你的账号没有项目的权限,你可以在浏览器输入你的项目地址,如果可以进入,则说明有权限;

    2024年02月04日
    浏览(52)
  • git克隆报错remote: The project you were looking for could not be found的解决方法

    在clone项目的时候克隆失败了,错误信息如下: remote: The project you were looking for could not be found. fatal: repository \\\' http://10.134.108.109/xxxx/snpb.git\\\' not found 原因是由于我的gitlab中有多个项目多个用户,我在克隆的时候系统还使用我之前的用户来连接,所以会报错。 解决方法: 在克隆

    2024年02月14日
    浏览(42)
  • 解决Android Studio测试报错Test events were not received...No tests found for given includes

    笔者报错时的运行环境: Android Studio Electric Eel | 2022.1.1 Patch 2 Gradle 8.0.1 JDK 17 JUnit 5.9.2 或 TestNG 7.7.1 单元测试 笔者在 Android Studio 界面内运行单元测试时,踩坑无数。 首先,发现如下报错。 后来发现,不管运行什么单元测试都是如此。后来笔者又把测试框架改为 TestNG,然后运

    2024年02月04日
    浏览(71)
  • 解决git clone代码,报错remote: The project you were looking for could not be found or you don‘t

    git clone项目时,clone失败,错误信息如下: remote: The project you were looking for could not be found or you don\\\'t have permission to view it. fatal: repository \\\'https://119.23.248.3/xxxx/pad.git\\\' not found 由于我在没有账号前用的同事的账号进行clone代码,所以之后克隆的时候系统还使用我之前的用户来连接,

    2024年02月11日
    浏览(49)
  • Git:git clone报错The project you were looking for could not be found or you don‘t have ...

    一、git clone 项目,报错如下 remote: The project you were looking for could not be found or you don\\\'t have permission to view it. fatal: repository \\\'http://xxx.xxx.com/xxx_tools/xxx-frontend.git/\\\' not found 解决问题 在http://后增加 “用户名@” git clone http://userName@xxx.xxx.com/xxx_tools/xxx-frontend.git 经过测试,问题解决了

    2024年04月17日
    浏览(48)
  • JUnit5单元测试提示“Not tests were found”错误

    JUnit5单元测试提示“Not tests were found”错误,如下图所示: 或者 问题解析: 1)使用@Test注解时,不能有返回值; 2)使用@Test注解时,不能使用private; 存在以上情况时执行单元测试,都会提示“Not tests were found”错误,如下图所示: 正确的示例是使用public void定

    2024年01月16日
    浏览(40)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包