Timeline for Angular 2 Typescript Compilation Errors
Current License: CC BY-SA 3.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 16, 2017 at 13:19 | comment | added | neojustice | Welcome, I believe this article will help you to understand (stackoverflow.com/questions/37548066/…) | |
| Mar 16, 2017 at 13:03 | comment | added | Bek Masharipov | Thanks, that is fixed, I am not getting errors right now. But can you please explain why it was not working with typings? | |
| Mar 16, 2017 at 12:42 | comment | added | neojustice |
In this case, can remove the typings in package.json file. For gulp case, can you try to update the typescript version? "typescript": "^2.2.1"
|
|
| Mar 16, 2017 at 11:58 | vote | accept | Bek Masharipov | ||
| Mar 16, 2017 at 10:56 | comment | added | Bek Masharipov | I am a beginner in the JavaScript world, please explain why typings is not working. So instead typings we should use @types/core-js? If so, why did you include "typings": "2.1.0" package? | |
| Mar 16, 2017 at 10:39 | comment | added | Bek Masharipov | Ok, removing typings fixed issue, now I can build my project with Vs2017 without errors. But Gulp is still showing errors | |
| Mar 16, 2017 at 9:48 | comment | added | neojustice |
Sorry for my first typo, it should be typings uninstall core-js --global. That command will uninstall the core-js under typings\globals folder.
|
|
| Mar 16, 2017 at 9:44 | comment | added | Bek Masharipov |
Ok! I will try. In the beginning of your answer you noted this line > typings install core-js --global, can you please explain what I should to do with it? I am sorry for such questions.
|
|
| Mar 16, 2017 at 9:43 | history | edited | neojustice | CC BY-SA 3.0 |
added 2 characters in body
|
| Mar 16, 2017 at 9:41 | comment | added | neojustice |
The following change is working for me. From "scripts": { "postinstall": "typings install dt~core-js --global" } to "scripts": { } Do you forget to remove the comma(,) in front of scripts tag.
|
|
| Mar 16, 2017 at 9:32 | comment | added | Bek Masharipov |
When I changed "scripts": { "postinstall": "typings install core-js --global"} and clicked on save, I got errors in npm output :
|
|
| Mar 16, 2017 at 8:45 | review | First posts | |||
| Mar 16, 2017 at 8:51 | |||||
| Mar 16, 2017 at 8:41 | history | answered | neojustice | CC BY-SA 3.0 |