-
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
ng serve / ng test - import resolving difference ? #3533
Comments
I'm having the same problem, hopes it will be addressed soon |
Same Issue. Brakes |
Do you have a |
tsconfig as default generated, "baseUrl": "" |
Could you provide a project that we can test against? I haven't seen that in beta 22-1 and/or Windows. |
@hansl I was on beta 22 updated to beta 22-1 and it went away |
Here test project |
Thanks. We'll investigate and come back. |
I found the problem with your Using a local fix that I have to report errors more efficiently, this is what I see:
The error is "Cannot determine the module for class PageNotFoundComponent". Every components built need to be declared in an Two things you can do to fix:
Point 2 we can actually improve on by having Cheers! |
Well, i generate clean project w/o other logic and just add one import. |
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?
Windows 10
Versions.
angular-cli: 1.0.0-beta.22-1
node: 7.2.0
os: win32 x64
Repro steps.
This import work with ng serve and not work with ng test:
When start ng test :
When I change import as
work ok for both (but it's lo-o-ong :) )
File environment.ts in src/environments/ directory.
Webpack config difference or something relate to ##2470 ?
The text was updated successfully, but these errors were encountered: