[英]How to fix "You seem to not be depending on “@angular/core” and/or “rxjs”. in ionic
I am trying to run Ionic project in local.I am running the ionic serve command in cmd.I am getting below error.我正在尝试在本地运行 Ionic 项目。我正在 cmd 中运行 ionic serve 命令。我遇到以下错误。
I have tried to run npm link command.I am getting error.我尝试运行 npm 链接命令。我收到错误消息。
What are the commands I need to run before ionic serve?在离子服务之前我需要运行哪些命令?
npm install
inside your project folder before you start.确保在开始之前在项目文件夹中运行npm install
。ionic serve
once again再次运行ionic serve
If it fails -如果失败了——
node_modules
folder and the package_lock.json
file.删除您的node_modules
文件夹和package_lock.json
文件。npm install
运行npm install
npm link
运行npm link
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.