-
Notifications
You must be signed in to change notification settings - Fork 250
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
Install fails on Raspbian #41
Comments
I might have progressed a little, after doing
But now I'm stuck on this error:
I see 'optional module' but trying 'node server-rpi.js' gives more errors:
Is h264-live-player maintained or should I just forget about this and find another way to stream my video to my webbrowser? |
Which version of nodejs are you using ? (non support for const http = require('http'); might be relevant (you'll probably need to use node >= 4) |
It's the latest available on Raspbian |
nodejs 4 is a standalone binary (with no dependencies) and can be easily updated from *.gz archives for ARM arch from https://nodejs.org/dist/latest-v4.x/ I'll state a minimal version in the package.json |
I don't know anything about the nodejs-legacy package, but I've had to deal with your original issue several times ("node not found"). In Raspbian (maybe Ubuntu/Debian too) the nodejs package in the apt repo doesn't link /usr/bin/nodejs to /usr/bin/node, which a standard installation should do. Simply running Basically to get "npm install" to work, I had to run:
|
I have a current and updated RasPi with Raspbian GNU/Linux 8.0 (jessie).
After I run
I get these errors:
I am not familiar with NodeJS, so can anybody tell me what I am doing wrong or if I forget some dependencies?
The text was updated successfully, but these errors were encountered: