Git Product home page Git Product logo

Comments (6)

Urokhtor avatar Urokhtor commented on July 4, 2024 1

I have to bump this issue because this error also pops up when cpu-features is an optional transient dependency (for example through ssh2).

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?

from cpu-features.

awprud avatar awprud commented on July 4, 2024

Same thing!

from cpu-features.

awprud avatar awprud commented on July 4, 2024

Try installing cmake. I installed it from Ubuntu software (18.04) and it worked for me

from cpu-features.

bogician avatar bogician commented on July 4, 2024

Same, Using M1 Mac and installing cmake doesn't help me. New error appears:
Знімок екрана 2021-07-29 о 12 48 33

from cpu-features.

Apollon77 avatar Apollon77 commented on July 4, 2024

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

from cpu-features.

mscdex avatar mscdex commented on July 4, 2024

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.

from cpu-features.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.