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 generate spectator-component with angular cli since release 11.0.0 #563

Closed
rubenpera-navara opened this issue Jun 23, 2022 · 1 comment

Comments

@rubenpera-navara
Copy link

Is this a regression?

Yes

Description

When trying to generate a spectator-component with the angular cli ng generate @ngneat/spectator:spectator-component you receive the following error: '[project folder]/node_modules/@ngneat/spectator/schematics/collection.json cannot be resolved.'

When you take a look inside your node_modules/@ngneat/spectator folder the schematics folder is indeed missing.

It seems that the schematics folder is missing from the npm package since version 11.0.0.

If you install version 10.0.1 the ng generate is working again so this was working before and the schematics folder is present.

Please provide a link to a minimal reproduction of the bug

No response

Please provide the exception or error you saw

An unhandled exception occurred: Collection "[project folder]/node_modules/@ngneat/spectator/schematics/collection.json" cannot be resolved.

Please provide the environment you discovered this bug in

No response

Anything else?

No response

Do you want to create a pull request?

No

@rubenpera-navara
Copy link
Author

Thanks @NetanelBasal , angular generate is working again!

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