bilelmsekni / componizer

vs code extension for refactoring to components
MIT License
32 stars 5 forks source link

Command failed error on simple component refactor #28

Open Vikms95 opened 1 year ago

Vikms95 commented 1 year ago

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 commented 9 months ago

I have the same problem. Also using Angular 17.