-
Notifications
You must be signed in to change notification settings - Fork 15
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
Yarn install error #1
Comments
Same thing! |
Try installing cmake. I installed it from Ubuntu software (18.04) and it worked for me |
cmake is a very unusual need for a nodejs module :-( it is not included in the usual build tools that are installed on user systems |
As mentioned in the readme for this project, cmake is required to properly build the addon. The reason cmake is required is that is the build system supported by cpu_features (the dependency) and converting the CMakeLists to gyp is not easy. However if someone wants to give converting the CMakeLists to a gyp file, feel free to send a PR! Regarding Apple M1, that is a different issue and is being resolved upstream here. |
I have to bump this issue because this error also pops up when I would rather expect this situation to be logged as a warning, because seeing "harmless" errors in your logs is confusing. I don't know enough about the build environment, but would it be possible for example to check whether CMake is installed and if not, just stop there and log the situation as a warning? |
Recently started receiving errors from yarn while installing. It seems to come from
ssh2 -> cpu-features
. The error seems to be triggered bynode-gyp
.The only way it seems to get around it is to
yarn install --ignore-optional
, which isn't ideal.The text was updated successfully, but these errors were encountered: