typings install failing #463
Comments
Typings does not use the NPM proxy information. |
Another thing is I can open the link "https://raw.githubusercontent.com/D However same via typings install times out. typings ERR! caused by Unable to connect to "https://raw.githubusercontent.com/D |
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/jasmine/tags/2.2.0%2B20160412134438" typings ERR! cwd /Users/kprat1/projects/angular2-quickstart |
@Kamaraju333 Are you using a local proxy? Please check that it's configured properly. |
@blakeembrey I am also on corporate proxy. I've set up the proxy config variables in npm and set strict ssl to false. Log: typings ERR! caused by typings ERR! node -v v0.10.25 |
@rishabhsethi As I mentioned three messages above my previous message, Typings does not using the NPM proxy config - you'd need to create a |
@blakeembrey Hey. Sorry, Forgot to delete my comment. Yes, I found the solution. Thanks. |
Some error, but I not use proxy My command:
I try to open url Any idea? |
@blakeembrey I dont have any local proxy settings |
@MNBuyskih That is not the same error, it's a 404. A 404 means "Not Found", which literally means there's no definition that you're trying to look up. You can install it using @Kamaraju333 Can you confirm by checking the proxy environment variables. I can't imagine any other case where you'd be accessing a local issuer certificate as your error seems to say. |
Got the same error, but AFAIK, there is no proxy. I can access the URL using a browser, and npm, or bower works just fine. What is really strange is that
|
Can confirm an identical issue as AkosLukacs. Out of 8 attempts to do a I've written a script that scaffolds out a basic application. I ran this several times with failures. This last time it ran successfully. I made no changes to files or configuration. Just kept running it until it succeeded. |
Are you behind a proxy? If so please read #120 |
I am getting the same issue...I am definitely NOT behind a proxy. I'm on node v6.1.0, npm v3.9.0. I was able to install I'm just following the Angular 2 guide, as well. |
404 is different to the issues in the thread. Most likely, you've just installed Typings 1.0 which is not compatible with existing docs. |
Ah. I'm on 1.0.2. Guess I wasn't paying attention. Is there somewhere that has the updated docs? |
|
Everywhere should be up to date, start on the README. Feel free to open a PR if I can clarify something, helps when someone else other than the guy who built everything adds their perspective. Yes, that's the command 👍 |
Facing a similar error here |
@shantanubhadoria Read the error, read the README. I can't keep answering the same questions. Edit: Sorry, I'm really frustrated. I just don't have all day to answer the same question. At least look at the comments directly above you which literally explains the same thing (replace |
@CyberKatze : Did you really read this thread? The solution is written above: You updated to typings version 1.0.3, which introduces some breaking changes. See change log. |
Just a quick "cheat sheet" (sample install es6-shim) To search for a package:
Check here the "source" column (in this case dt) To install the package
|
@brauliodiez Both windows and bash are the same syntax. The bang syntax was from |
Ouch ! Sorry about that, just corrected the comment, hope it helps to other developers, thanks for you patience. |
Sorry, I was confused with this string: "dt~" :) so now, all work perfekt! thank you! |
Likely unrelated, but are you running as admin? |
Yes. |
I get errors when i type: typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/es6-shim/versions/latest" typings ERR! cwd C:\Users\morwin\Documents\angular2-cademy typings ERR! If you need help, you may report this error at: |
@morwin10 , does any of these help? |
This issue is loaded with various different scenarios. Created a separate issue #564 |
@unional Yes i tried it with .typingsrc :
But it doesn't work |
Something changed, this worked a week ago, now my project is hosed with the same error: typings ERR! node -v v4.4.4 |
@HoosierWrangler And what is the error? There's a dozen different ones mentioned in this thread. |
For everyone having problems installing es6-shim module following the angular2 tutorial, this is the correct string to enter: typings install es6-shim --global --source dt --save |
@blakeembrey - Your Frustrated????? Update you documentation.... and you wont have to answer all these questions. THIS - typings install es6-shim --global --source dt --save OR THIS - typings install dt~es6-shim --global --save Which one buddy. The top one worked for me after about an hour of searching the internet. |
@RichOren I don't understand what you are responding to. The documentation is up to date. Are you running into an issue? |
Since you edited your rant: both work, what's the problem? |
@ Well your stuff isn't working as documented. typings install dt~angular-ui-router --global --save - does not work. This does - typings install angular-ui-router --global --source dt --save |
Yes, it works perfectly fine. Check the version of your Typings please. |
I am on 1.3.1 is there something passed that version? |
I can confirm that it works: > typings install dt~angular-ui-router --global --save
typings INFO reference Stripped reference "https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/b38cd68fe2dacaea0bb4efd6a3c638ceeae4fb25/angularjs/angular.d.ts" during installation from "angular-ui-router" (main)
angular-ui-router
└── (No dependencies) |
Its working now - Maybe the terminal needed to be re-opened after updating Typings - cause that is the only thing I can think of why it wouldn't have worked. Thanks for your help guys. |
@rampah I was having the same issue as you. Can you provide the solution you had. @blakeembrey What do you mean by create a .typingsrc. |
create a See https://github.com/typings/typings/blob/master/docs/faq.md#configuration |
My problem was solved.I have used the Internet adsl.but this time use the simcard internet. |
typings "search" "es6-shim"
Viewing 1 of 1
NAME SOURCE HOMEPAGE DESCRIPTION VERSIONS UPDATED
es6-shim dt https://github.com/paulmillr/es6-shim 1 2016-06-02T14:15:04.000Z
typings "install" "dt~es6-shim"
typings ERR! message Unable to find "dt~es6-shim" for "npm" in the registry. Did you want to install ambient typings with the ambient flag? If you can contribute these typings, please help us: https://github.com/typings/registry
typings ERR! caused by https://api.typings.org/entries/npm/dt~es6-shim/versions/latest responded with 404, expected it to equal 200
what's wrong? |
@Dreampie You're using a version < 1.0. |
this work...
|
That is not the typings version, I'm not sure what that is. You can also check on NPM, the latest version is 1.3. The version you are using is 0.x. |
sorry paste wrongly previously, i did try everything suggested above and this is my error 👍
typings ERR! message Unable to connect to "https://api.typings.org/entries/dt/jasmine/tags/2.2.0%2B20160621224255" typings ERR! cwd C:\Users\00094201\workspace\angular-quickstart typings ERR! If you need help, you may report this error at: npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules\chokidar\node_modules\fsevents): npm ERR! Please include the following file with any support request: |
sorry can ignore my post, |
I am following "Angular 2" quickstart. When trying to do "npm install" it is failing at "typings install" step.
https://angular.io/docs/ts/latest/quickstart.html
I already have correct proxy and registry set up (https://registry.npmjs.org/).
Below is the error.
typings ERR! message Unable to read typings for "es6-shim". You should check the
entry paths in "es6-shim.d.ts" are up to date
typings ERR! caused by Unable to connect to "https://raw.githubusercontent.com/D
efinitelyTyped/DefinitelyTyped/7de6c3dd94feaeb21f20054b9f30d5dabc5efabd/es6-shim
/es6-shim.d.ts"
typings ERR! caused by connect ETIMEDOUT 23.235.46.133:443
typings ERR! cwd c:\Temp\angular2-quickstart
typings ERR! system Windows_NT 6.1.7601
typings ERR! command "C:\BLKDeveloper\nodejs\node.exe" "c:\Temp\angular2-qu
ickstart\node_modules\typings\dist\bin.js" "install"
typings ERR! node -v v4.4.3
typings ERR! typings -v 0.7.12
typings ERR! If you need help, you may report this error at:
typings ERR! https://github.com/typings/typings/issues
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\BLKDeveloper\nodejs\node.exe" "C:\BLKDeveloper\nodejs\no
de_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.4.3
npm ERR! npm v2.15.1
npm ERR! code ELIFECYCLE
npm ERR! angular2-quickstart@1.0.0 postinstall:
typings install
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular2-quickstart@1.0.0 postinstall script 'typings ins
tall'.
npm ERR! This is most likely a problem with the angular2-quickstart package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! typings install
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs angular2-quickstart
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls angular2-quickstart
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! c:\Temp\angular2-quickstart\npm-debug.log
The text was updated successfully, but these errors were encountered: