Updated everything to newest version, getting error now.
package.json
{
"//": "npm-check-updates - use that package/command to check for available upgrades for the packages",
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.test",
"tns-android": {
"version": "2.3.0"
}
},
"dependencies": {
"@angular/common": "2.1.1",
"@angular/compiler": "2.1.1",
"@angular/core": "2.1.1",
"@angular/forms": "2.1.1",
"@angular/http": "2.1.1",
"@angular/platform-browser": "2.1.1",
"@angular/platform-browser-dynamic": "2.1.1",
"@angular/platform-server": "2.1.1",
"@angular/router": "3.1.1",
"nativescript-angular": "1.1.1",
"nativescript-geolocation": "0.0.13",
"nativescript-google-maps-sdk": "^1.3.14",
"nativescript-google-places": "0.0.3",
"reflect-metadata": "^0.1.8",
"tns-core-modules": "2.3.0"
},
"devDependencies": {
"babel-traverse": "6.18.0",
"babel-types": "6.18.0",
"babylon": "6.13",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "^2.0.3",
"zone.js": "^0.6.21"
}
}

Old package.json, with which everything worked before:
{
"//": "npm-check-updates - use that package/command to check for available upgrades for the packages",
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"readme": "NativeScript Application",
"repository": "<fill-your-repository-here>",
"nativescript": {
"id": "org.nativescript.test",
"tns-android": {
"version": "2.3.0"
}
},
"dependencies": {
"@angular/common": "2.0.1",
"@angular/compiler": "2.0.1",
"@angular/core": "2.0.1",
"@angular/forms": "2.0.1",
"@angular/http": "2.0.1",
"@angular/platform-browser": "2.0.1",
"@angular/platform-browser-dynamic": "2.0.1",
"@angular/platform-server": "2.0.1",
"@angular/router": "3.0.1",
"nativescript-angular": "1.0.1",
"nativescript-geolocation": "0.0.13",
"nativescript-google-maps-sdk": "^1.3.14",
"nativescript-google-places": "0.0.3",
"reflect-metadata": "^0.1.8",
"tns-core-modules": "2.3.0"
},
"devDependencies": {
"babel-traverse": "6.16.0",
"babel-types": "6.16.0",
"babylon": "6.12",
"lazy": "1.0.11",
"nativescript-dev-typescript": "^0.3.2",
"typescript": "^2.0.3",
"zone.js": "^0.6.21"
}
}
Please, try removing your @angular/platform-server dependency. It brings in a newer parse5 version that is incompatible with NativeScript.
SOMEBODY GIVE THIS MAN A COOKIE! :D
Thanks, worked like a charm! :)
I'm getting the same error but the only dependency is
├─┬ [email protected]
│ └── [email protected]
Most helpful comment
Please, try removing your
@angular/platform-serverdependency. It brings in a newerparse5version that is incompatible with NativeScript.