-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Unexpected value 'KernelModule' imported by the module 'DynamicTestModule' #3463
Comments
What is |
@hansl I have the same problem, when I'm trying to import 3d party modules from node_modules and trying to test my services. |
I used local npm linked lib and got a similar issue like this. The package versions in my project:
The error is:
|
Same issue when running tests. @blingwang's solution fixes the problem. |
what is the status on this issue? |
@chaosmonster this issue is fixed meanwhile. But if I remember correctly I had to add |
Closing as outdated. If this still happens, please let me know. |
@filipesilva Have the same issue again @angular/cli: 1.6.5 |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
OS?
Versions.
Repro steps.
The log given by the failure.
Mention any other details that might be useful.
The KernelModule is for the moment a custom made Angular2 webpack app that we host on Bitbucket, so it's being installed by the other app which is now an angular-cli app. And there I want to perform my UT. This KernelModule will be migrated in the near future to angular-cli too.
The meaning behind KernelModule is that it will share other component.
Metadata for this one is:
I'm guessing that it could be either because the KernelModule is not build correctly, or (but this is a long shot) KernelModule is for now webpack? I'm thinking about these because once I copied the KernelBoxComponent and pasted into my project and used the component directly instead of the module, there wasn't a problem for doing my tests. BUT when I used the component directly from the my custom made webpack app, then I got other errors.
The text was updated successfully, but these errors were encountered: