-
Notifications
You must be signed in to change notification settings - Fork 8
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
"type is not defined" for type "component" #11
Comments
Same as @ffderic when I run
|
Same issue here. Not sure why the most used type is not supported. I'm using NG9. |
I have the exact same problem |
+1 Same problem - Is anyone working on this? |
I was able to successfully generate a spec file by running |
Same here, the problem is still present, and neither the solution proposed by @ThatSpaceGuy works for me |
unfortunately I think the project is essentially dead, it's a non-starter at this point. |
This project is something that was created to solve the particular problem several years ago until Angular team comes with a normal solution. However it looks like they still did not. There is always an option to make a pull request that fixes the issue or take the project for maintenance. Just complaining does not solve the issue... |
Agree. Sorry about being so curt. Was working on testing way to late. Thanks for replying to the thread. |
Issue stems from an incompatibility with angular version 9. It can be worked around by installing locally angular-cli@8 |
I fixed the issue and I want to make a pull request. I need permission to upload my branch. |
Hi, sounds super! you can fork the project, make the necessary changes and create a pull request from the fork. This is a normal flow for GitHub projects |
Fix already merged! This should not longer be an issue :) |
When trying to use "ng g ngx-spec:spec <some.component.ts>" I just get message "type is not defined" and nothing is generated. It works just fine with services...
Is this a known issue? Any idea?
I use version 2.1.4.
The text was updated successfully, but these errors were encountered: