Comments (6)
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.
Same thing!
from cpu-features.
Try installing cmake. I installed it from Ubuntu software (18.04) and it worked for me
from cpu-features.
Same, Using M1 Mac and installing cmake doesn't help me. New error appears:
from cpu-features.
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.
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)
- Current version depends on buildcheck 0.0.3, failing with VS2022
- I am not able to cpu-features using npm command HOT 3
- An error occurred when I used rollup packaging HOT 1
- No Support for Apple M1 Pro in 0.0.4 HOT 5
- I am unable to install cpu-features using the npm install command. HOT 5
- Error from checkbuilder.js deps HOT 2
- Error: cpu-features Command failed when installing db-migrate HOT 5
- Noisy npm installation HOT 1
- Module does not get bundled properly into electron app HOT 3
- undefined symbol: node_module_register HOT 3
- GitHub releases tab missing latest release v0.0.9 HOT 2
- Trivy scan detects multiple misconfigurations HOT 1
- Can not build with Node 22 on Apple Silicon HOT 3
- Can't build on Windows HOT 16
- npm install fails HOT 4
- Issue when deploying project HOT 4
- Apple Silicon support -- #error \"Including cpuinfo_arm.h from a non-arm target.\" HOT 4
- error when building on arm64 MacBook HOT 23
- Version 0.0.3 installs on M1 Mac (ARM64) but fails at runtime HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cpu-features.