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

undefined requires Angular-CLI to run #987

Closed
louis-bompart opened this issue Oct 17, 2022 Discussed in #986 · 0 comments
Closed

undefined requires Angular-CLI to run #987

louis-bompart opened this issue Oct 17, 2022 Discussed in #986 · 0 comments

Comments

@louis-bompart
Copy link
Collaborator

Reproduced. CDX-1212

Discussed in #986

Originally posted by akaustav October 17, 2022
Hi,
In my Windows 10 machine, after installing the @coveo/[email protected] globally using npm (via the npm -g i @coveo/cli command) and logging in (via the coveo auth:login command), I attempted to create a sample Angular Headless application. However, as soon as I issued the following command I was hit with an error:

C:\dev\coveo>coveo ui:create:angular coveo-test
 »   Precondition Error - Missing Bin: undefined requires Angular-CLI to run.
 »
 »   You can install the Angular-CLI by running npm i -g @angular/cli
 »
 »   Please visit https://angular.io/guide/setup-local#install-the-angular-cli for more detailed installation
 »   information.

I was able to deduce that I was missing a global installation of the @angular/cli. I was able to install it and move on with the remainder steps. However, it feels like the undefined in the error message should point to a specific command / package / library. Is this a known bug?

If it helps, I am running:

  • OS: Windows 10 Version 21H2 (OS Build 19044.2006)
  • NodeJS: 16.10.0
  • NPM: 7.24.0
  • Coveo CLI: @coveo/cli/1.37.1 win32-x64 node-v16.10.0

Ameet

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