简体   繁体   English

如何修复“你似乎不依赖于“@angular/core”和/或“rxjs”。在离子中

[英]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?在离子服务之前我需要运行哪些命令?

  1. Make sure to run npm install inside your project folder before you start.确保在开始之前在项目文件夹中运行npm install
  2. Run ionic serve once again再次运行ionic serve

If it fails -如果失败了——

  1. Delete your node_modules folder and the package_lock.json file.删除您的node_modules文件夹和package_lock.json文件。
  2. Run npm install运行npm install
  3. Run npm link运行npm link

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 你似乎不依赖于“@ angular / core和/或”rxjs“。这是一个错误 - You seem to not be depending on “@angular/core and/or ”rxjs". This is an error 您似乎不依赖于“ @ angular / core”和/或“ rxjs”。 这是一个错误 - You seem to not be depending on “@angular/core” and/or “rxjs”. This is an error “你似乎并不依赖”@angular/core“。” - “You seem to not be depending on ”@angular/core“.” “您似乎不依赖于“@angular/core”和/或“rxjs”。这是一个错误。“将 MEAN-app 部署到 Heroku 时 - "You seem to not be depending on "@angular/core" and/or "rxjs". This is an error. " when deploying MEAN-app to Heroku 您似乎不依赖“ @ angular / core”。 这是一个错误 - You seem to not be depending on “@angular/core”. This is an error 您似乎并不依赖“@angular/core”。 打字稿 - You seem to not be depending on “@angular/core”. Typescript Angular-CodeAnywhere-您似乎不依赖于“ @ angular / core”。 这是一个错误 - Angular - CodeAnywhere - You seem to not be depending on “@angular/core”. This is an error 您似乎不依赖“ @ angular / core”。 这是一个错误。 角项目 - You seem to not be depending on “@angular/core”. This is an error. Angular project RXJS:如何在Ionic 3 / Angular中取消订阅? - RXJS: How to cancel a Subscription in Ionic 3/Angular? 如何修复'debounceTime&distinctUntilChanged | 使用typescript在Angular 5中出现RxJS错误 - How to fix ‘debounceTime & distinctUntilChanged | RxJS’ error in Angular 5 using typescript
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM