简体   繁体   中英

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:

[ng] ERROR in The target entry-point "@ionic/storage" has missing dependencies: [ng] - @angular/core

and in browser on localhost:8100 I can see only "Cannot GET /" ERROR

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 . It's worked for me.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM