Skip to content
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

Typescript compiler errors #14

Closed
cmelion opened this issue Feb 28, 2016 · 4 comments
Closed

Typescript compiler errors #14

cmelion opened this issue Feb 28, 2016 · 4 comments

Comments

@cmelion
Copy link

cmelion commented Feb 28, 2016

I was doing some refactoring of this fantastic seed project and started noticing some errors in the typescript compiler console. I reverted but the errors were still there. Is anyone else seeing this?

Image of Typescript Compile Errors

@Foxandxss
Copy link
Member

Wrong repo :P

Did you remove the "ignoreDiagnostic" bits?

@cmelion
Copy link
Author

cmelion commented Feb 28, 2016

@Foxandxss I did not remove the ignoreDiagnostic bits, should I?

"Wrong repo"? Sorry, is there a right repo :P
Actually I'm working in a fork of this repo.

I just started migrating to Angular-2/TS from Angular 1.x and React/ES6 in the last few days, so there are some things I'm still acclimating to.

Everything still runs fine, so It may be this is a Webstorm 11 issue only?

@Foxandxss
Copy link
Member

Oh, I think I see your error, you are using webstorm's integrated compiled and you definitely shouldn't. That won't use webpack nor our ts-loader (that has the ignoreDiagnostic bits).

So what you have is not an error per se, it is just that you are using a different compiler that doesn't have all our options. I would disable the webstorm integrated compiler and just use our npm scripts.

Also yes, wrong repo, this is for Angular 1 :P, you are looking at the Angular 2 repo is a different one.

@cmelion
Copy link
Author

cmelion commented Feb 28, 2016

damn! I'm going blind ... sorry about that.
Thanks, for the quick reply.

Solution: Go to the Settings | Languages & Frameworks | TypeScript page - uncheck TypeScript Compiler checkbox.

@cmelion cmelion closed this as completed Feb 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants