philip1986 / pimatic-led-light

A template for creating plugins
http://pimatic.org/
GNU General Public License v2.0
7 stars 13 forks source link

installation error #49

Open pimagical opened 8 years ago

pimagical commented 8 years ago

error [pimatic]: Error running "npm install pimatic-led-light"

incmve commented 8 years ago

To install the plugin on a Debian or Raspbian system libudev-dev must be installed. sudo apt-get install libudev-dev

https://github.com/philip1986/pimatic-led-light

pimagical commented 8 years ago

True sorry

2016-02-01 13:46 GMT+01:00 incmve notifications@github.com:

To install the plugin on a Debian or Raspbian system libudev-dev must be installed. sudo apt-get install libudev-dev

https://github.com/philip1986/pimatic-led-light

— Reply to this email directly or view it on GitHub https://github.com/philip1986/pimatic-led-light/issues/49#issuecomment-177956575 .

pimagical commented 8 years ago

Still not working using sudo apt-get install libudev-dev

error [pimatic]: ENOENT, no such file or directory '/home/pi/pimatic-app/node_modules/pimatic-led-light/package.json'

package.json is located in the folder!

mwittig commented 8 years ago

Did you solve this? Otherwise, try the following:

cd /home/pi/pimatic-app/node_modules/
sudo rm -rf pimatic-led-light
npm i pimatic-led-light
sudo service pimatic restart