-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
e2e error: TSError: Unable to compile TypeScript #452
Comments
I'm getting the same error Node 5.6.0 Could it be related to this Angular 2 issue? angular/angular#7660 |
Occure same issue:
Ouput:
D:\VITALY\work\angular2\angular2-webpack-starter>npm run e2e
|
Same here |
Issue is described here angular/angular#7660 and looks like it will be fixed in a future release of angular. In the mean time you can fix it by adding this to your
|
@tobek thanks, the compiler needs but, its not that easy to fix it, because if you check the current tsconfig.json node_modules are excluded, even if you add Nevertheless
I think it would be wiser to create |
That definitely seems like a more elegant/maintainable long-term solution, however it seems like the fix on angular's end is coming soon so hopefully we won't have to deal with this (and ideally shouldn't have to). My hack solution above worked for me as a temporary fix until the angular team fixes this. |
Closing this because this issue no longer occurs in master at bf46a9c. Thanks all! |
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository
Bug
Running
npm e2e
fails.https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).
Run
npm pree2e
(works fine)Run
npm e2e
and get this error:e2e tests should run.
Being able to run e2e tests.
Running latest from master as of now, still seeing this issue. Not sure when it started.
The text was updated successfully, but these errors were encountered: