0
点赞
收藏
分享

微信扫一扫

You seem to not be depending on "@angular/core". This is an error.


前言

运行项目时使用​​npm install​​​遇到​​You seem to not be depending on "@angular/core". This is an error.​

You seem to not be depending on "@angular/core". This is an error._Desktop

原因

先解释第一个报红,你第一个是说node_modules是空的,需要npm install(npm 安装)

node_modules appears empty, you may need to run `npm install`

你执行了这个​​npm install​​​,出现了第二个报红
这是因为没有进项目,所以​​​npm install​​​找不到​​package.json​​文件,不知道下载什么

解决

进入目录

cd C:\Users\19686\Desktop\BPMQD\strategyapp

cd 项目
npm install 或 npm i

You seem to not be depending on "@angular/core". This is an error._npm install_02


举报

相关推荐

0 条评论