-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
Can't build demo app on android #213
Comments
Is this repo dead? |
this is really sad. |
@aranmohyeddin once again thank you for pinging the team on this one. I can confirm that indeed the build scrip (
and
|
@NickIliev Thank you. I've asked this question on stackoverflow. And someone tried to help but I failed to understand what they told me to do, maybe you can use that information to solve this. |
@aranmohyeddin not quite sure what is happening in the SO thread but there seems to be an issue with the latest version of the plugin which is causing the |
@aranmohyeddin there are few things that are wrong here - in the following lines I will explain what is happening and how to fix the development workflow with this plugin on Windows.
"build": "npm i && tsc && tns plugin build && npm run ngc", The last part is failing due to some syntax error when executing bash commands on Windows. The thing is that the npm run is not executing the proper command (onWindows the executable ngx.cmd should be triggered instead of the bash script). So to resolve the issue remove the last part from the build command. "build": "npm i && tsc && tns plugin build", Then update the Angular dependencies to version 8.2.x and the TypeScript dependency to 3.4.5 "devDependencies": {
"tns-core-modules": "^6.1.2",
"tns-platform-declarations": "^6.1.2",
"typescript": "~3.4.5",
"nativescript-angular": "~8.2.0",
"nativescript-vue": "~2.2.0",
"@angular/core": "~8.2.0",
"@angular/common": "~8.2.0",
"@angular/compiler": "~8.2.0",
"@angular/compiler-cli": "~8.2.0",
"rxjs": "^6.3.3",
"zone.js": "~0.8.26",
"tslint": "~5.11.0"
} Remove node_modules and re-run the command
After that manually execute the Angular ngc command as follows:
Now you are good to go with starting the demo
|
I'm not on windows. I'm on Archlinux. I don't just want to run the demo. I want to use the actual plugin in my app. In The SO question I've posted the error I get in the actual plugin. |
Please, tell us how to recreate the issue in as much detail as possible.
I did exactly as stated in the vue demo directory.
Here is the content of the 387Z-debug.log file:
Here is the content of the 407Z-debug.log file:
The text was updated successfully, but these errors were encountered: