-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG] npm install ends with EEXIST #672
Comments
Sorry, but I don't understand how this is a duplicate of #611 ... (that said, it may be the same internal mechanism that causes both failures, is this the case?) |
@pythoulon My mistake. Please ignore that 😂 |
No problem...😁 |
same problem here |
See #611 (comment) if that helps. |
More on this. I realized that my development folder is on the special drive created by Google Drive File Stream (the sync engine between Windows' file system and Google Drive). So the problem seems to be with the way npm interacts with the virtual file system created by Drive File Stream... I'm going to leave my dev folder out of it... |
@pythoulon I would second your observations about Google Drive. I am experiencing the same issue but it goes away when I move the folder to a "real" local drive. I would be curious to know whether there's a deeper dive possible here. Any idea where one might go next with this problem? |
@nsitu No idea... Looks like a problem somewhere deep in npm (or worse in Google Drive's implementation ?) |
I have the same problem with the npm update.
|
Just wondering why this has been closed as completed when none of the comments address the OP's issue? I am seeing the same error: (I did the same as the OP, deleted |
hi |
The problem
It quickly dies the the following error message:
npm ERR! code EEXIST
npm ERR! syscall mkdir
npm ERR! path G:\My Drive\Git\vscode-extension-samples\vscode-extension-samples\lsp-sample\node_modules.staging
npm ERR! errno -4075
npm ERR! EEXIST: file already exists, mkdir 'G:\My Drive\Git\vscode-extension-samples\vscode-extension-samples\lsp-sample\node_modules.staging'
npm ERR! File exists: G:\My Drive\Git\vscode-extension-samples\vscode-extension-samples\lsp-sample\node_modules.staging
npm ERR! Remove the existing file and try again, or run npm
npm ERR! with --force to overwrite files recklessly.
See attached log file.
2020-01-09T17_39_35_413Z-debug.log
What's weird
is that it complains that the .staging directory already exists, when it is the install process itself that created the folder (when I start, there is no preexisting node_modules folder).
Any idea what the problem might be ? I've tried reinstalling npm, deleting the node_modules folder and starting over, deleting the intermediate .staging folder, using the --force option, to no avail...
The text was updated successfully, but these errors were encountered: