-
Notifications
You must be signed in to change notification settings - Fork 12k
Serve errors with TypeScript 2.0.2 #1917
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
Right, duplicate. Missed that issue. |
Sorry, mine sort of had a bad title |
Having the same problem, See issue 1887 for more details. |
Check out dematic-rodrigo-silveira's post on #1919. I will summarize below. Huge thanks to dematic-rodrigo-silveira! I was tearing my hair out about this one. For a new project, there are a few steps: Update Node to 6.5 and npm to 3.10.3
Update Typescript to 2.0+
Follow the README's instructions on installing the new cli
Modify project dependencies
Once this is complete, you should be able to serve and test without issues. I am loving the new cli. Thank you to the CLI team! |
The problem with the solution from @SeekingMonkey is that now, RC6 has been released and it appears to have a dependency on 2.0.2 specifically . What now? |
we probably need to wait with updating until angular-cli team fixes that |
+1 |
Very weird issue. Whenever I scaffold a new project with angular-cli: 1.0.0-beta.11-webpack.8 and try to build the project for the first time, I get a list of errors. |
I followed the process outlined by @SeekingMonkey. |
I concur with @CalvinDale, I, also, could not get the process @SeekingMonkey described to work, but @emyann's worked like a charm. |
me too - Thanks @emyann |
The new cli actually requires [email protected] which is currently in beta. Removing the old version and installing typescript@beta did the trick! |
Closed as obsolete. The latest versions support [email protected]. |
I still get the error as mentioned above: I already tried it with several ts ng combinations like: angular-cli: 1.0.0-beta.17 node: 6.5.0 |
@yves-s yours seems like a different issue, related to protractor. Can you open a new issue with repro steps? |
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
Ubuntu 14.04
Versions
Repro steps.
Create fresh project with webpack.8 or update existed.
There will be
"typescript": "^2.0.0"
dependency inpackage.json
.The log given by the failure.
Workaround
Lock TypeScript version at 2.0.0 in
package.json
.The text was updated successfully, but these errors were encountered: