Skip to content
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 -v errors with permission issues (npm 6.14.4, Node.js v14, Windows x86) #1227

Closed
kewde opened this issue Apr 30, 2020 · 2 comments
Closed
Labels
Bug thing that needs fixing platform:windows is Windows-specific Release 6.x work is associated with a specific npm 6 release

Comments

@kewde
Copy link

kewde commented Apr 30, 2020

What / Why

Attempting to run npm -v errors with '-1073741819'. It is specific to this version, Node v14 on x64 & all previous Node V13 (x86 & x64) work fine. Sometimes it works fine, but if you loop it for a few iterations eventually it will error (I used 500 iterations)

When

  • unknown timing, after installation, race condition occurs.

Where

  • npm/cli

How

Current Behavior

npm -v just errors

Steps to Reproduce

Here's a batch script (designed to run on AppVeyor CI) that reproduces this bug.
https://github.com/kewde/node-sqlite3/blob/kewde/repro-appveyor-ci/scripts/build-appveyor.bat

Expected Behavior

No permission errors

Who

  • sqlite3 team

References

  • n/a
@kewde
Copy link
Author

kewde commented Apr 30, 2020

Please note that for all other versions of Node & npm & distros (Linux / Windows) & arch (x86 / x64) my script runs perfectly fine.

@darcyclarke darcyclarke added Release 6.x work is associated with a specific npm 6 release platform:windows is Windows-specific Bug thing that needs fixing labels Oct 30, 2020
@darcyclarke
Copy link
Contributor

npm v6 is no longer in active development; We will continue to push security releases to v6 at our team's discretion as-per our Support Policy.

If your bug is preproducible on v7, please re-file this issue using our new issue template.

If your issue was a feature request, please consider opening a new RRFC or RFC. If your issue was a question or other idea that was not CLI-specific, consider opening a discussion on our feedback repo

Closing: This is an automated message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug thing that needs fixing platform:windows is Windows-specific Release 6.x work is associated with a specific npm 6 release
Projects
None yet
Development

No branches or pull requests

2 participants