-
-
Notifications
You must be signed in to change notification settings - Fork 931
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
Windows fails when making a symbolic link, causing the operating system to seize up. #6298
Comments
Since the problem is probably hardware (disk) related and not 100% reproducible, I can only speculate on the cause of the problem, so I won't provide a reproduction repository. |
Suddenly a reason occurs to me, is it possible that the anti-virus software is blocking operations on this directory? |
Not sure if it is the same issue but here in this PR to Bit I was also fixing an EPERM error: teambit/bit#7182 |
I'm not sure, my initial guess is that it's a problem under Windows with long paths. |
I found a similar problem: $ pnpm env use --global lts
It is the same error, except that it is correctly caught and exits the program without causing the operating system to crash. |
Oh yes, this problem exists in |
The |
pnpm version:
v7.29.3
Code to reproduce the issue:
A random working directory:
package.json
:Execution of commands:
Results:
Expected behavior:
Ability to install correctly.
Actual behavior:
Symbolic link failed.
Additional information:
npx envinfo
:Disk Type:
HDD
I ran it on another Windows system and had no problems.
So I'm not sure if it's a bug or an OS issue.
More specifically, I have gathered together a range of reasons why this problem has arisen:
MAX_PATH
.So I am looking for help with:
Because once this error happens, my disk occupancy reaches 100%, my system gets stuck and I have no choice but to force the shutdown button and restart the computer.
The text was updated successfully, but these errors were encountered: