Skip to content
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

Unable to run angular demos #78

Open
TLmaK0 opened this issue Feb 9, 2022 · 0 comments
Open

Unable to run angular demos #78

TLmaK0 opened this issue Feb 9, 2022 · 0 comments

Comments

@TLmaK0
Copy link

TLmaK0 commented Feb 9, 2022

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:


> [email protected] 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant