Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not start dasher on raspberry pi zero #41

Open
timloehrs opened this issue Nov 27, 2016 · 2 comments
Open

Could not start dasher on raspberry pi zero #41

timloehrs opened this issue Nov 27, 2016 · 2 comments

Comments

@timloehrs
Copy link

Hey, everytime I try to start dasher on my pi, it gives me the following error:

npm ERR! Linux 4.4.32+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start" npm ERR! node v4.3.0 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE npm ERR! dasher@1.1.1 start: node app.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the dasher@1.1.1 start script 'node app.js'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the dasher package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node app.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs dasher npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls dasher npm ERR! There is likely additional logging output above.

my node version is 4.3.0

any suggestions?

@iainmacthai
Copy link

Here is the sequence I went through today and finally got mine working after a few weeks of struggle, hope it helps if still needed.

  1. Configured SD card with pi bakery with Jessie full and the following "On first boot - enable VLC, + reboot"
  2. Powered up PI with SD card and ethernet & usb dongle into PI usb.
  3. VNC into PI and ensure SSH is enabled
  4. SSH into PI and run the following cmds taken from this post https://blog.miniarray.com/installing-node-js-on-a-raspberry-pi-zero-21a1522db2bb#.15rrxe2d6

cd ~
wget http://nodejs.org/dist/v4.2.4/node-v4.2.4-linux-armv6l.tar.gz
cd /usr/local
sudo tar xzvf ~/node-v4.2.4-linux-armv6l.tar.gz --strip=1
sudo apt-get remove --purge npm node nodejs
node -v
sudo npm install -g npm

followed by

cd
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libpcap-dev
git clone https://github.com/maddox/dasher.git
cd dasher
npm install

then do the configs

sudo nano config/config.json

I already knew my mac address so straight into

sudo npm run start

@Kalfin2000
Copy link

THANK YOU! I used this set of commands on my RaspberryPi 2 and it is working beautifully now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants