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

fix: optimize bin/npm #596

Closed
2 tasks
darcyclarke opened this issue Oct 20, 2022 · 1 comment
Closed
2 tasks

fix: optimize bin/npm #596

darcyclarke opened this issue Oct 20, 2022 · 1 comment
Labels

Comments

@darcyclarke
Copy link
Contributor

darcyclarke commented Oct 20, 2022

Summary

Today, running npm can cause us to boot node twice to determine the npm prefix value & this can be prohibitively expensive on platforms like Windows

Exit Criteria

  • investigate opportunities for optimizations & potentially use node by default using child_process.fork
  • refactor bin/npm

Links & References

@wraithgar
Copy link
Member

npm/cli#7271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants