-
Notifications
You must be signed in to change notification settings - Fork 65
Unable to install npm package on Windows #1050
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
Comments
Thank you for reporting! Seems like this might get fixed by using https://github.com/sourcegraph/src-cli/blob/main/npm-distribution/install.js#L59 I'll try to reproduce and fix on my Windows computer |
olafurpg
added a commit
that referenced
this issue
Jul 3, 2024
Fixes #1050. Previously, it was not possible to install src-cli via npm on Windows. It was also not possible to publish the npm package on Windows. This PR fixes both problems. The second problem had to be solved so I could manually test the fix for this PR.:
olafurpg
added a commit
that referenced
this issue
Jul 3, 2024
Fixes #1050. Previously, it was not possible to install src-cli via npm on Windows. It was also not possible to publish the npm package on Windows. This PR fixes both problems. The second problem had to be solved so I could manually test the fix for this PR.:
olafurpg
added a commit
that referenced
this issue
Jul 3, 2024
Fixes #1050. Previously, it was not possible to install src-cli via npm on Windows. It was also not possible to publish the npm package on Windows. This PR fixes both problems. The second problem had to be solved so I could manually test the fix for this PR.:
Took a while for me to get back to this! This should be fixed in the next release (I think targeted for July 10th) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I run
npm install -g @sourcegraph/src
I get the following output:It's not clear to me if the download is failing (that URL appears correct) or if
chmod
is failing to findsrc.exe
. There's not much more detail in the full log:2023-11-26T12_06_26_509Z-debug-0.log
I'm using Windows 11:
With these versions of node/npm:
The text was updated successfully, but these errors were encountered: