Hi all ! Help please upgrade Ionic Native to 3.x ! I am running npm install @ionic-native/core --save, but see …
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\ch
okidar\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.1.1: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
After I am running ionic info and see …
Your system information:
ordova CLI: 6.4.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.0
Xcode version: Not installed
And now after update node_module to Ionic3 I can not bulid my app … I see …
[13:48:46] ionic-app-scripts 1.3.0
[13:48:46] build prod started ...
[13:48:46] clean started ...
[13:48:46] clean finished in 1 ms
[13:48:46] copy started ...
[13:48:46] ngc started ...
[13:48:49] ionic-app-script task: "build"
[13:48:49] Error: Error encountered resolving symbol values statically. Could n
ot resolve ionic-native relative to
D:/tmp/ionic2/src/app/app.module.ts., resolving sy
mbol AppModule in
D:/tmp/ionic2/src/app/app.module.ts, resolving sym
bol AppModule in
D:/tmp/ionic2/src/app/app.module.ts
Error: Error encountered resolving symbol values statically. Could not resolve i
onic-native relative to D:/tmp/ionic2/src/app/app.module.ts.,
resolving symbol AppModule in D:/tmp/ionic2/src/app/app.module
.ts, resolving symbol AppModule in D:/tmp/ionic2/src/app/app.m
odule.ts
at Error (native)
at syntaxError (D:\tmp\ionic2\node_modules\@angular\compil
er\bundles\compiler.umd.js:1513:34)
at simplifyInContext (D:\tmp\ionic2\node_modules\@angular\
compiler\bundles\compiler.umd.js:23316:23)
My package.json is …
{
"name": "ionic-hello-world",
"author": "Ionic Framework",
"homepage": "http://ionicframework.com/",
"private": true,
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve"
},
"dependencies": {
"@angular/common": "4.0.0",
"@angular/compiler": "4.0.0",
"@angular/compiler-cli": "4.0.0",
"@angular/core": "4.0.0",
"@angular/forms": "4.0.0",
"@angular/http": "4.0.0",
"@angular/platform-browser": "4.0.0",
"@angular/platform-browser-dynamic": "4.0.0",
"@ionic-native/core": "^3.4.4",
"@ionic-native/splash-screen": "3.4.2",
"@ionic-native/status-bar": "3.4.2",
"@ionic/storage": "2.0.1",
"ionic-angular": "3.0.1",
"ionicons": "3.0.0",
"rxjs": "5.1.1",
"sw-toolbox": "3.4.0",
"zone.js": "^0.8.4"
},
"devDependencies": {
"@ionic/app-scripts": "1.3.0",
"typescript": "~2.2.1"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"cordova-plugin-device",
"cordova-plugin-splashscreen",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": [],
"description": "myApp"
}