-
Notifications
You must be signed in to change notification settings - Fork 14
Project generated with Angular-CLI showing errors under "node_modules" #132
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
Comments
@Springrbua I'm improving TypeScritpt builder (to have more fast performance #109) Could you share your project please. |
Thanks for the fast reply. |
Short update:
The "app.component.spec.ts" shows 29 errors. Some of those errors are inside that file, saying that the methods "beforeEach", "describe", "expect" and "it" are not defined (Cannot find name "beforeEach"). Steps to reproduce:
I am using the newest Snapshot Versions (typescript.java: 1.2.0.201701211655, Angular2 Eclipse: 1.1.0.201611012218), as well as Angular CLI Beta 26, NodeJS 7.3.0 (tryed with embedded Version 4.2.4 too) and embedded TypeScript Version 2.1.5. |
@Springrbua if I understand well your problem is about "compile on save". Today compile on save is very basic: it execute "tsc" command for the given ts file which is saved. So I think you have trouble when there is some dependencies. Please wait that I implement #109 which should improve compile on save. |
@angelozerr thanks again for your quick answer. |
@Springrbua please retry this issue since now compile on save is done with tsserver |
@angelozerr seems to work fine right now, thanks. |
I am currently trying out the typescript.java and the angular2-eclipse plugin (1.2.0 Snapshot).
I am using the global Angular-CLI installation (Version 1.0.0-beta.24), the embedded node.js (v4.2.4) as well as the embedded TypeScript Version (2.1.4).
When I generate a project using the Wizard (File->New->Other->Angular2 Project) and enable the TypeScript Builder, it gives me following errors:
However, serving and building the app (using ng serve and ng build) works perfectly.
Even executing the "Compile TypeScript" on the "tsconfig.json" under "XXX/src" works perfectly and does not show any errors.
I even tryed deleting this errors, but they come back whenever I save changes on a .ts-File.
The text was updated successfully, but these errors were encountered: