-
Notifications
You must be signed in to change notification settings - Fork 665
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
Request to remove cpu-features. #1139
Comments
I saw the previous discussion, cpu-features is used to choose a better algorithm, is it possible to consider using other methods to choose an algorithm. |
Then don't install it. |
I think I've described it clearly, it will be installed when I do npm install, if I don't specify |
Also relevant: #1114 I will close this for now as there is nothing actionable. |
Hi @mscdex , I have been troubled by this problem again recently, I think a possible way is to move cpu-feature to devDependencies, this will not have any effect on you, for ssh2 users, cpu-feature is now really become Optional dependencies. |
Just commenting that the cpu-features thingy is giving me a hard time as well, we are building an electron-app with electron-builder. |
To avoid this problem, I released a package with cpu-features removed, |
Hi, your library has an optional dependency on cpu-features, but it will be installed during npm install, and an error will be reported if the node-gyp environment is not installed.
But users with node-gyp environment are few, now ssh2 works fine, I don't want to install node-gyp environment for this optional feature.
The text was updated successfully, but these errors were encountered: