[英]Ionic storage Error missing dependencies: @angular/core
I followed this tutorial to install ionic camera in ionic project, but when I run ionic serve command I am getting this error:我按照本教程在 ionic 项目中安装 ionic 相机,但是当我运行 ionic serve 命令时出现此错误:
[ng] ERROR in The target entry-point "@ionic/storage" has missing dependencies: [ng] - @angular/core
[ng] 目标入口点“@ionic/storage”中的错误缺少依赖项:[ng] - @angular/core
and in browser on localhost:8100 I can see only "Cannot GET /" ERROR在 localhost:8100 上的浏览器中,我只能看到“无法获取 /”错误
How to fix this error so I can see my home page preview in browser如何修复此错误,以便我可以在浏览器中看到我的主页预览
I had the same problem.我有同样的问题。 Try exclude the folder (into your project) node_modules and then execute (into de same folder of the project) npm install .
尝试排除文件夹(到您的项目中) node_modules然后执行(到项目的同一文件夹中) npm install 。 It's worked for me.
它对我有用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.