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

Command failed error on simple component refactor #28

Open
Vikms95 opened this issue Nov 14, 2023 · 1 comment
Open

Command failed error on simple component refactor #28

Vikms95 opened this issue Nov 14, 2023 · 1 comment

Comments

@Vikms95
Copy link

Vikms95 commented Nov 14, 2023

Hi all! Been trying to use the extension but I'm getting this error.

Command failed: npx ng g @componizer/schematics:ng-componize --name hello-world --activeFile "path-to-component.html" --start 39 --end 39 --customSkipImport true --debugMode false
An unhandled exception occurred: NOT SUPPORTED: keyword "id", use "$id" for schema ID
See "/tmp/ng-iql2sW/angular-errors.log" for further details.

I'm trying to refactor this:
<div>hello world</div>

And these are my relevant package.json dependencies:

  "@angular-eslint/schematics": "16.2.0",
  "@componizer/schematics": "~0.0.7",
  "@schematics/angular": "~17.0.0",
  "@angular/cli": "^17.0.0",

I'm confused by the error message and I'm not really sure how to proceed. Any help is greatly appreciated.

@feichin-noreja
Copy link

I have the same problem. Also using Angular 17.

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

2 participants