You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
When attempting to add the angular outputtarget under v17, the following error is thrown: Cannot read properties of undefined (reading 'kind')
To Reproduce
Steps to reproduce the behavior:
setup NX ( an Angular 17 monorepo) to the following versions:
Add stencil plugin then attempt to add the target with: nx g @nxext/stencil:add-outputtarget design-system --verbose
Expected behavior
A clear and concise description of what you expected to happen.
Output target should be created successfully.
Additional context
Add any other context about the problem here.
Full stack trace of error:
TypeError: Cannot read properties of undefined (reading 'kind')
at _angularImportsFromNode (/Users/sfoster/Documents/GitHub/foundry/node_modules/@nxext/stencil/src/utils/angular-ast-utils.js:13:16)
at /Users/sfoster/Documents/GitHub/foundry/node_modules/@nxext/stencil/src/utils/angular-ast-utils.js:56:24
at Array.map (<anonymous>)
at getDecoratorMetadata (/Users/sfoster/Documents/GitHub/foundry/node_modules/@nxext/stencil/src/utils/angular-ast-utils.js:56:10)
at _addSymbolToNgModuleMetadata (/Users/sfoster/Documents/GitHub/foundry/node_modules/@nxext/stencil/src/utils/angular-ast-utils.js:94:19)
at addDeclarationToModule (/Users/sfoster/Documents/GitHub/foundry/node_modules/@nxext/stencil/src/utils/angular-ast-utils.js:215:12)
at addLibraryDirectives (/Users/sfoster/Documents/GitHub/foundry/node_modules/@nxext/stencil/src/generators/add-outputtarget/add-angular/generator.js:61:65)
at /Users/sfoster/Documents/GitHub/foundry/node_modules/@nxext/stencil/src/generators/add-outputtarget/add-angular/generator.js:73:9
at Generator.next (<anonymous>)
at fulfilled (/Users/sfoster/Documents/GitHub/foundry/node_modules/tslib/tslib.js:166:62)
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
When attempting to add the angular outputtarget under v17, the following error is thrown:
Cannot read properties of undefined (reading 'kind')
To Reproduce
Steps to reproduce the behavior:
setup NX ( an Angular 17 monorepo) to the following versions:
Add stencil plugin then attempt to add the target with:
nx g @nxext/stencil:add-outputtarget design-system --verbose
Expected behavior
A clear and concise description of what you expected to happen.
Output target should be created successfully.
Additional context
Add any other context about the problem here.
Full stack trace of error:
The text was updated successfully, but these errors were encountered: