Typings install hangs #537
Comments
I followed your steps and was unable to reproduce your issue. (The files were installed successfully). Could you provide more context about your environment ? I tested on a Windows 7 machine with Node Side note:
|
I'm on Windows 10. I use the mingw bash that comes with git-scm.
I'm thinking of a networking issue or something like that, but in that case there still should be some kind of timeout error. EDIT: Also, the process randomly goes less far or farther. Sometimes it outputs nothing, sometimes one warning like the original report, and sometimes the two lines as below:
EDIT: |
I can confirm that the typings did not install because of a networking issue. If I use a french VPN, it works perfectly. I think the networking issue itself it not at all an issue with this project. However, typings should IMHO timeout and show an error pinpointing which mirror is at fault. |
Got the same issue on Windows 10, node 6.2.0 |
For me it hangs for about half of the requests I perform. So it is highly likely that it is a network or server issue. However as @IljaKroonen already mentioned, a timeout with an error would be nice. |
It hangs when I'm in some crappy public network (which would likely to block some ports). And something strange happened as I performed this:
It complained that:
And even after I supplied it with
While But none of these would happen when I'm in some better network environment and it works just fine, no hangs, no complains:
|
That's strange. Should bundle access internet at all? |
I found that It does! It leaves some header like this in the generated file, which would require internet access (for that permalink)
|
Yeah it does. It simply re-resolve the dependencies by loading them from Internet. I just wonder what is the general use case of Right now we use it within typings repo and the |
@banacorn, I'm on my phone right now so it's hard for me to create new issue. Can you help me to create a new issue on this bundle logic to see if we can make it an enhancement? Thanks |
@unional Sure 👍 |
My situation is the same. |
Renaming typings folder or config file didn't changed anything. |
@papmodern , although unlikely to cause the hang, can you check if you have a different version of |
Can report another reproduction on Ubuntu 16.04, node 6.8.1, typings 1.4.0... typings WARN badlocation "github:mattiamanzati/typings-material-ui" is mutable and may change, consider specifying a commit hash
typings WARN deprecated 10/15/2016: "registry:npm/lodash#4.0.0+20160723033700" is deprecated (updated, replaced or removed)
typings WARN deprecated 9/15/2016: "registry:npm/react-router#2.4.0+20160811060709" is deprecated (updated, replaced or removed)
typings WARN deprecated 10/8/2016: "registry:dt/react#0.14.0+20160829191040" is deprecated (updated, replaced or removed)
typings WARN badlocation "github:andrew-w-ross/typings-redux" is mutable and may change, consider specifying a commit hash
typings WARN badlocation "github:andrew-w-ross/typings-history" is mutable and may change, consider specifying a commit hash
typings WARN badlocation "github:andrew-w-ross/typings-redux" is mutable and may change, consider specifying a commit hash
typings WARN deprecated 10/6/2016: "registry:dt/redux-actions#0.8.0+20160521154116" is deprecated (updated, replaced or removed)
(node:15996) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): PopsicleError: Unable to connect to "https://raw.githubusercontent.com/mattiamanzati/typings-material-ui/master/svg-icons/action/chrome-reader-mode.d.ts"
Caused by: Error: read ETIMEDOUT
(node:15996) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): PopsicleError: Unable to connect to "https://raw.githubusercontent.com/mattiamanzati/typings-material-ui/master/svg-icons/action/eject.d.ts"
Caused by: Error: read ETIMEDOUT
(node:15996) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): PopsicleError: Unable to connect to "https://raw.githubusercontent.com/mattiamanzati/typings-material-ui/master/svg-icons/action/description.d.ts"
Caused by: Error: read ETIMEDOUT
(node:15996) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): PopsicleError: Unable to connect to "https://raw.githubusercontent.com/mattiamanzati/typings-material-ui/master/svg-icons/action/delete-forever.d.ts"
Caused by: Error: read ETIMEDOUT
(node:15996) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): PopsicleError: Unable to connect to "https://raw.githubusercontent.com/mattiamanzati/typings-material-ui/master/svg-icons/action/receipt.d.ts"
Caused by: Error: read ETIMEDOUT
^[[2D
├── lodash@4.0.0
├─┬ material-ui@0.15.1
│ └── react
├─┬ react-dom
│ └── react
├─┬ react-redux
│ └── redux
├─┬ react-router@2.4.0
│ └── history
├─┬ react-router-redux
│ ├── history
│ └── redux
├── isomorphic-fetch (global)
├── marked (global)
├── react (global)
├── redux (global)
└── redux-actions (global) I then opened one of the files ( Network is otherwise stable, tried two, very reliable European VPNs in different countries with no success either. |
OS X here. I have it hang constantly. There should be a timeout added that reports the network info of the part that timed out. |
Description
typings install commands hangs without error message
Steps to Reproduce
Expected behavior: the command terminates and a new typings folder contains the definitions
Actual behavior: The command does not terminate and no error is reported even after several hours
Output:
typings install typings WARN badlocation "github:andrew-w-ross/typings-redux" is mutable and may change, consider specifying a commit hash
Versions
1.0.4
The text was updated successfully, but these errors were encountered: