@elvis_gn If the path ../providers/data
is a folder (with an index.ts
file inside, exporting classes; that is, a barrel) you can try to import from ../providers/data/index
. At least this is what happened to me when I updated from RC0 to RC1, and I had to change imports in hundreds of files T-T (the good thing is that it worked).
If this is not your case, maybe your path is wrong in app.module.ts, like @mvrc pointed out. Do you have the file /Users/.../src/providers/data.ts
?
UPDATED
If your problem is with barrels (you have an index.ts
file inside your folder), it is now fixed. Just update ionic-app-scripts
to version 0.0.36
:
npm install @ionic/app-scripts@latest --save-dev
Related issue: