Open pensierinmusica opened 7 years ago
sudo apt-get install git-core will fix it.
apt-get
does not exist on Mac, I think it's for Linux. Maybe with homebrew?
same problem here.
The problem here is that V8 has removed ForceSet method in the V8 version that Node 10 uses. Solution is to install older version of nodejs. Easiest is to use NodeVersionManager nvm. curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash source ~/.bashrc nvm install 8 npm install npm@latest -g
then you can do
npm remove wiring-pi npm install wiring-pi
Trying to install
wiring-pi
on a Mac laptop with Node v7.7.3, I get:And in
npm-debug.log
:Even if eventually my code will run on a Raspberry Pie I'd still like to be able to write it on my laptop. I tried to install GpIO and it doesn't seem to give any problem.
Any idea how to fix this? Thx!