nstudio / nstudio/nativescript-plugins
Unable to run angular demos
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 55
- Forks
- 42
- Avg merge
- 49m
- Merged PRs (30d)
- 1
Description
Hi,
I'm just trying to run angular demo to test checkbox, because I have a problem with my project making it work with formControl: ERROR Error: No value accessor for form control with name....
To run angular demo, I did:
git clean -fxd
npm i
npm start
and select apps.demo-angular.android
then I get:
> plugins@0.0.0 start /home/hugo/projects/test/nativescript-plugins
> nps
nps is executing `default` : nps-i
? NativeScript Plugins ~ made with β€οΈ Choose a command to start... apps.demo-angular.android
β Run Android π€
nps is executing `apps.demo-angular.android` : nx run demo-angular:android
> nx run demo-angular:android
---
Running NativeScript CLI within apps/demo-angular/
ns debug android --force
---
Searching for devices...
Unable to install dependencies. Make sure your package.json is valid and all dependencies are correct. Error is: Command npm failed with exit code 1 Error output:
npm ERR! code ENOLOCAL
npm ERR! Could not install from "../../dist/packages/nativescript-intercom" as it does not contain a package.json file.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/hugo/.npm/_logs/2022-02-09T22_51_36_656Z-debug.log
Done.
βββββββββββββββββββββββββββββββββββββββββββββββ
> NX ERROR Running target "demo-angular:android" failed
Failed tasks:
- demo-angular:android
Hint: run the command with --verbose for more details.
The script called "apps.demo-angular.android" which runs "nx run demo-angular:android" failed with exit code 1 https://github.com/sezna/nps/blob/master/other/ERRORS_AND_WARNINGS.md#failed-with-exit-code
ns doctor
β Getting environment information
No issues were detected.
β Your ANDROID_HOME environment variable is set and points to correct directory.
β Your adb from the Android SDK is correctly installed.
β The Android SDK is installed.
β A compatible Android SDK for compilation is found.
β Javac is installed and is configured properly.
β The Java Development Kit (JDK) is installed and is configured properly.
β Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
β Getting NativeScript components versions information...
ns version
8.1.5
β Up to date.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up β it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with git clean -fxd, npm i, npm start, and the apps.demo-angular.android command. Inspect the demo setup and the reported ../../dist/packages/nativescript-intercom dependency path; done means dependencies install successfully and the Angular Android demo starts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, angular, typescript
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100