leader21 / pimatic-installer

Installation program for installing Pimatic, Homeduino and additional programs
5 stars 2 forks source link

install pimatic after other addons installing not in pimatic-app #1

Open lcfm1 opened 8 years ago

lcfm1 commented 8 years ago

2015-11-21-raspbian-jessie-lite.img on this image i made next:

  1. install system
  2. npm install onoff
  3. after that, path to pimatic-app - /home/pi/node_modules/pimatic
leader21 commented 8 years ago

use the "regular" image from http://downloads.raspberrypi.org/raspbian_latest you should get 2015-11-21-raspbian-jessie.img this is prooved to be working with the installer

lcfm1 commented 8 years ago

@leader21, can you add a check for the presence of npm & git installed on system? when i install that, setup work fine on jessie lite.

leader21 commented 8 years ago

sorry, i am not sure where the issue is ... if you follow the installation steps, pimatic should be installed. at the readme you can see that you have to install git anyways to clone the installer. so there's no need to query this within the script again.

furthermore, npm will be installed within the node package automatically (since v 0.6.3 npm is integrated into nodejs). you can see in line 83 and 86 that node v0.10.24 will be fetched from the server.

Could you please tell me the exact link to the download of your jessie lite image so i can do some more testings with this since i want to try and reproduce the issue by myself.