I added chartjs framework into my ionic 3 app. On windows/android, it works but if I try to build the app on mac platform I receive this error:
Cannot find module “@angular/core/src/render3”
ionic info
Ionic:
ionic (Ionic CLI) : 4.10.3 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic-angular 3.9.5
@ionic/app-scripts : 3.2.2
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : ios 4.5.5
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 4.1.1, (and 12 other plugins)
System:
Android SDK Tools : 26.1.1 (/Users/lsantaniello/Library/Android/sdk)
ios-deploy : 1.9.2
ios-sim : 6.1.2
NodeJS : v7.7.0 (/usr/local/bin/node)
npm : 4.1.2
OS : macOS High Sierra
Xcode : Xcode 10.1 Build version 10B61
Can you help me to solve the issue?
I tried to remove node_modules folder and rerun npm install but the problem is not solved.
Thanks in advance
Luca