使用下面提示的npm install --save没有效果,请问该怎么解决
关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率

已采纳
请问这种情况该怎么解决These dependencies were not found:
收起
- 写回答
- 好问题 0 提建议
- 关注问题
微信扫一扫
点击复制链接分享
- 邀请回答
- 编辑 收藏 删除 结题
- 收藏 举报
1条回答 默认 最新
- 关注
码龄 粉丝数 原力等级 --
- 被采纳
- 被点赞
- 采纳率
崽崽的谷雨 2021-05-07 12:59关注字面意思就是缺少依赖,建议删除node-modules文件夹,然后npm install,要用国内源(阿里),或cnpm、yarn。也有可能就是@/api下缺少东西,也就是你项目中引用了@/api下的东西而@/api却没有
本回答被题主选为最佳回答 , 对您是否有帮助呢? 本回答被专家选为最佳回答 , 对您是否有帮助呢? 本回答被题主和专家选为最佳回答 , 对您是否有帮助呢?解决 1无用 2举报微信扫一扫
点击复制链接分享
评论按下Enter换行,Ctrl+Enter发表内容
报告相同问题?
提交
- 2024-03-08 14:40红烧咸咸鱼的博客 vue2 npm run build报错 These dependencies were not found:
- 2022-10-18 18:32团酱的博客 解决记录These dependencies were not found:
- 2023-08-18 10:48IsQiya的博客 These dependencies were not found: 方案一 全部安装一遍 我们先浅试一个axios >> npm install axios 安装完报错就没有axios了,验证咱们的想法没有问题,实行! ok
- Yui_NIE的博客 【代码】解决core-js报错:These dependencies were not found: core-js/modules/es.array.push.js。
- 2021-08-03 15:50妮北鼻的学习乐园的博客 These dependencies were not found: * core-js/fn/array/flat-map in ./node_modules/@babel/polyfill/lib/noConflict.js * core-js/fn/promise/finally in ./node_modules/@babel/polyfill/lib/noConflict.js * ...
- 2022-03-13 21:22顽强的小豆子的博客 These dependencies were not found: * core-js/modules/es.array.concat.js in ./src/api/acl/role.js, ./src/api/product/attr.js and 3 others * core-js/modules/es.array.filter.js in ./node_modules/_@...
- 2021-12-08 13:58yan_xian_gang的博客 ERROR Failed to compile with 28 errors11:05:13 These dependencies were not found: * @/api/threeKingdoms/kindlinguseraward in ./node_modules/_cache-loader@2.0.1@cache-loader/dist/cjs.js??ref--12-0!./...
- 2021-11-22 11:02ユリリ的博客 Vue E-Charts加载报错These dependencies were not found:报错背景解决方案结果 报错背景 当前在做一个Vue的单页面项目,临时因为新着手一个项目更换了系统盘,这其实是一个很容易想到的报错原因,但是当时控制台...
- 2024-08-16 13:56meslog的博客 Error from chokidar (C:\): Error: EBUSY: resource busy or locked, lstat 'C:\hiberfil.sys' 报错处理 原因: 安装包漏了 解决过程: 1、看了下package.json/package-lock.json都有core-js。 2、但是node_modules...
- 2021-05-13 11:14究极憨憨的博客 These dependencies were not found:XXXXXX 项目昨晚运行的还好好的,启动项目就出现了如下报错,已解决。原因是依赖包的路径问题,没有正确的导入依赖包。 方法简单粗暴: 1.先删除 node_moudel 目录(依赖多的...
- 2022-10-08 14:00小白gg的博客 umi 使用 antd-mobile v5 后报错These dependencies were not found:...解决办法 引用时把: import { AutoCenter, Input, Radio, Space } from 'antd-mobile' 改为: import { AutoCenter, Input, Radio, Space } ...
- 2019-11-27 22:30花光十个亿的博客 nodejs+vue前端报错 These dependencies were not found: 写在前面:nodejs为后台,前端vue 先看下报错 These dependencies were not found: * axios in ./src/main.js * vuex in ./src/store/index.js To ...
- 2024-11-25 20:41不超限的博客 近日升级了node版本为22之后,出现一个奇怪错误。...经过多次删除 node_modules模块,cache clean force之后,仍然未解决上述问题。查询了另一个正常运行的项目,发现使用的是 core-js@2.6.12,因此,又问chatgpt。
- 2020-03-03 15:00caicsama的博客 导入了 vue-table-with-tree-grid就出现错误,网上搜发现可能是路径错误,看了导入路径和官方文档,...dependencies依赖对象中没有,但项目用到了 依次导入: npm install axios less less-loader element-ui --save...
- 2025-03-03 17:57木辰風的博客 【代码】vue These dependencies were not found。
- 2021-08-24 15:54LJPchosen1的博客 These dependencies were not found: -!../node_modules/css-loader/dist/cjs.js??ref–6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??...
- 2022-12-21 10:19white_poland的博客 vue:项目启动时报错These dependencies were not found 解决办法
- 2024-05-28 10:45爱摄影的程序猿的博客 一、报错现象 1、通过yarn run dev启动项目 ERROR Failed to compile with 39 errors 10:33:15 These dependencies were not found: * core-js/modules/es.array.push.js in ./node_modules/@babel/runtime/helpers/...
- 2021-11-04 16:09肉清的博客 解决方案: 添加presets:[["@vue/app",{useBuiltIns:"entry"}]] 然后重启项目
- 没有解决我的问题, 去提问