-
-
Notifications
You must be signed in to change notification settings - Fork 241
Unable to build NativeScript 5.4 application with nativescript-angular 8.0.2 #1914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This still exists in NS 5.4. |
Can you give us more details on what versions of the packages and NativeScript you are using in the project which has this issue. On our end this issue has been resolved |
Nativescript 5.4.0 "dependencies": {
"@angular/animations": "~8.0.0",
"@angular/common": "~8.0.0",
"@angular/compiler": "~8.0.0",
"@angular/core": "~8.0.0",
"@angular/forms": "~8.0.0",
"@angular/http": "~8.0.0-beta.10",
"@angular/platform-browser": "~8.0.0",
"@angular/platform-browser-dynamic": "~8.0.0",
"@angular/router": "~8.0.0",
"nativescript-angular": "8.0.1",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.12",
"rxjs": "~6.5.0",
"tns-core-modules": "~5.4.0",
"zone.js": "~0.9.1"
},
"devDependencies": {
"@angular/compiler-cli": "~8.0.0",
"@ngtools/webpack": "~8.0.0",
"codelyzer": "~4.5.0",
"nativescript-dev-sass": "~1.7.0",
"nativescript-dev-typescript": "~0.10.0",
"nativescript-dev-webpack": "~0.24.0",
"tslint": "~5.11.0"
} I set the angular version to 8.0.1 as a work around but it was ~8.0.0 just like the others. |
Can you give is the error you get? Is it a runtime error or a build error? |
Environment
Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
When trying to build NativeScript application created with 5.4, the application suddenly failed to build. In package.json of the project, the
nativescript-angular
is referenced with~8.0.0
, which suddenly installed 8.0.2 of the package. After trying to build the application (with bundle workflow) an error occured:tns build android
:To Reproduce
npm i -g [email protected]
tns create myApp --ng
cd myApp && tns build android
The build will fail.
Expected behavior
Patch version of the package should not break existing applications.
Workaround:
Hardcode version 8.0.1 of
nativescript-angular
in the project's package.json:The text was updated successfully, but these errors were encountered: