Closed carafelix closed 2 weeks ago
it looks like your missing dependencies apt-get update apt-get install python3 make g++ apt-get install -y build-essential apt-get install -y libglew-dev apt-get install -y libglu1-mesa-dev apt-get install -y libxi-dev apt-get install -y pkg-config
apt-get update apt-get install python3 make g++ apt-get install -y build-essential apt-get install -y libglew-dev apt-get install -y libglu1-mesa-dev apt-get install -y libxi-dev apt-get install -y pkg-config
Run the above command that they sent and it should install just fine after that :blush:
These lines (see below) in particular mention that you're missing xi
, which would be the libxi-dev
that @apophis51 mentioned.
791 error to the PKG_CONFIG_PATH environment variable
791 error No package 'xi' found
791 error gyp: Call to 'pkg-config --libs-only-L --libs-only-other x11 xi xext' returned exit status 1 while in angle/src/angle.gyp. while loading dependencies of binding.gyp while trying to load binding.gyp
What is wrong?
Installation fails, check log file
Where does it happen?
running
npm i brain.js
Expected behavior (i.e. solution)
install sucessfully
Version information
Nodejs:
v18.18.1.
Python:
Python 3.10.12
Brain.js:
latest npm release
OS:
Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy
How important is this (1-5)?
5
log:
fatal.log