"yarn install" fails on Windows #8282
-
If i try to run "yarn install" it hangs during installation. Any idea?
|
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 16 replies
-
@CannyDuck do you have latest yarn version ? Also is that your internet connectivity is "high" or "low" ? |
Beta Was this translation helpful? Give feedback.
-
I use version 1.22.4. I configured a proxy for yarn, other dependencies are also successful retrieved during the install process. |
Beta Was this translation helpful? Give feedback.
-
try with |
Beta Was this translation helpful? Give feedback.
-
There is a bug in the vscode-ripgrep extension. It does not support proxies. There is an issue on this point but still no PR : #8171
hope this helps |
Beta Was this translation helpful? Give feedback.
-
The pull-request to address the issue is here: #8280 |
Beta Was this translation helpful? Give feedback.
-
The lib directory is the node_modules/vscode-ripgrep/lib |
Beta Was this translation helpful? Give feedback.
-
Are you sure that you did npm i global-agent and that it installed global-agent properly ? |
Beta Was this translation helpful? Give feedback.
-
You are in the wrong folder : vscode-debugprotocol instead of vscode-ripgrep |
Beta Was this translation helpful? Give feedback.
-
Did you install global-agent in the vscode-ripgrep folder ? |
Beta Was this translation helpful? Give feedback.
-
I'm not sure why all this global extra agent stuff is required, the simplest would just be to include a "resolutions": {
"**/vscode-ripgrep": "1.8.0"
}, |
Beta Was this translation helpful? Give feedback.
-
That's very strange, could you check what's in your vscode-ripgrep/node_modules : |
Beta Was this translation helpful? Give feedback.
I'm not sure why all this global extra agent stuff is required, the simplest would just be to include a
resolution
in the rootpackage.json
and rebuild: