victorporof / MAX7219.js

Abstraction for the MAX7219 display driver controller
Mozilla Public License 2.0
13 stars 6 forks source link

Can't "npm install max7219" with current builds #1

Closed nkolban closed 8 years ago

nkolban commented 8 years ago

I am running Raspbian Jessie on a Pi 2 ... when I try and execute "npm install max7219", it fails.

Here are some of the relevant details:

$ uname -a Linux raspberrypi 4.1.15-v7+ #830 SMP Tue Dec 15 17:02:45 GMT 2015 armv7l GNU/Linux

$ node -v v4.2.1

$ npm -v 2.14.7

NPM debug log attached

npm-debug.txt

Later ... I found that I could run:

$ npm install spi

which installed 0.2.0 of SPI

This however was not compatible with max7219 which wants ~0.1.0

I downloaded the max7219 package and manually changed the dependency to ~0.2.0 and all now appears to work once installed.

I think we need to look at "freshening" this package to later code levels.

victorporof commented 8 years ago

Feel free to contribute! I'm not actively working on this project.

nkolban commented 8 years ago

Made the change and issued a pull request.