-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Yarn install never finished #3028
Comments
@georgesben, please provide a package.json to reproduce the issue, without it we won't be able to fix it. |
Hi ! Sorry for the late. This is a minimal JSON for the bug: {
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"chimp": "^0.48.0"
}
} This is quite similar with this ticket: #3041 |
Having the same problem, the provided |
Smaller repro case:
Waits forever. Running on windows 10, x64, node-gyp 3.6.1, node 7.9.0 |
Thanks a lot. |
I've spent some time trying to see why it doesn't finishes, but to no avail. The Strangely enough, most of the times, running a There's this report: lovell/sharp#775 which is similar but with Haven't found any issues running I'll put some more time later to see if I can dig further. |
Thanks for more data. |
I can't reproduce this on latest master neither with Node 6 nor with Node 7. I was able to see this happen with Yarn 0.24 and Node 7 so I'd say close the issue.
-Anonymous |
@BYK, did you check on windows as #3028 (comment)? |
The problem is not solved for me :'( Yarn version: 0.24.5 The command
|
@bestander - not on Windows yet since I hadn't set it up and then I saw comments claiming this happened on macOS too. Will try and debug on Windows too. @georgesben - That's great! I mean not the issue still existing but you reproducing and providing all this information. Can you also share your package.json file (or at least the relevant parts)? Looks liek you're on Windows. Which version? |
I'm on Windows 7 (64 bits) Integral version The package.json file is the following:
The command was executed in the following folder: If you need more informations, please tell me :) |
@georgesben - Alright. I don't have access to Win 7 (have Win 10 at home) but I'll it there. If I can't repro, I'll come back and ask for more :) |
There is no lock file when I launched the command (see the third line in the log) |
Hey, apologies for the radio silence. I'm in between computers right now so didn't have a chance to try and debug this on Windows yet. Still on my list. |
@georgesben - Is this still happening with |
Yes, this is still happing with yarn 0.27.5 (and Maybe this is a problem with my computer and not with yarn ? (I suppose it works for you) |
@georgesben no need to apologize! We've just shipped a few updates with 0.27 that might have resolved this issue, that's why I asked again. You've just confirmed that I still need to debug but eliminated a possible cause so thanks! |
FYIW, I was having trouble with yarn hanging at the
I then went and installed yarn via Chocolately and then reran
Huge difference. I suspect the problem in my case was that |
This seems to be resolved on latest master so closing. |
I'm experiencing the same waiting issue as well. Let me know what info y'all would like to troubleshoot it. This is my first time using yarn so I'm not in the know as to what's occurring.. |
One reason why this happens is when you have not authenticated with a package server hosting one of your dependencies. Save passphrase for ssh key |
Care to elaborate? |
I confirm that it is happening to me with the latest version as well. |
Still occuring to me with the latest version |
This still hapenning at least with me when I install
|
Do you want to request a feature or report a bug?
bug
What is the current behavior?
The installation of the modules never finished. This is the log of yarn:
I have waited ~20 minutes but nothing happens
If the current behavior is a bug, please provide the steps to reproduce.
I have used the following commands:
yarn
andyarn install
on a new project (I was using npm before). Same problem in the 2 cases.What is the expected behavior?
I expect the installation finished
Please mention your node.js, yarn and operating system version.
The text was updated successfully, but these errors were encountered: