源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  vue启动报错These dependencies were not found:

vue启动报错These dependencies were not found:

分类: 文章 • 2024-06-16 08:31:28

npm run dev 启动的时候报错:

vue启动报错These dependencies were not found:

 

 

上面写着出现问题的文件在 ./src/router/index.js; 查找后发现是

import Content from '@page/content'

 

这代码不对,page前面需要加 "/",正确代码是

import Content from '@/page/content'

重新执行代码发现还是出错

vue启动报错These dependencies were not found:

 

vue启动报错These dependencies were not found:

 

 


相关推荐

  • 启动vue的脚手架创建的项目时报错Unsupported URL Type “npm:“: npm:[email protected]^16.0.0-beta.7的随手笔记
  • VUE程序启动报错code ELIFECYCLE
  • 启动vue项目时报错,npm ERR! Failed at the [email protected] postinstall script.
  • vue: 项目启动报错 You may use special comments to disable some warnings.
  • 离线安装Docker 19启动失败报错:group docker not found 解决办法
  • vue引用icon字体文件时出错,These relative modules were not found: ./font/sell-icon.eot...
  • 启动vue ui的时报错spawn cmd ENOENT 简单解决方法
  • cli4 创建vue项目 报错 error Found incompatible module. ERROR command failed: yarn
  • 安装@vue/cli后报错 bash: vue: command not found
  • git clone下载的vue项目在npm install后,启动 npm run dev报错missing script: dev
  • Linux 命令简单介绍第二课笔记
  • 读《金字塔原理》
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号