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

picast_start exits without error after outputting forever processing file line #35

Open
drentsoft opened this issue May 22, 2016 · 12 comments

Comments

@drentsoft
Copy link

Raspberry Pi Zero V1.3 (the one with the camera), install took at least 6 hours (went to bed after that point so I don't know how much longer it took) but I assumed it worked however doing:
cd ~/PiCAST
sh picast_start.sh
it outputs the expected Starting PiCAST3...
waits a few seconds then outputs:
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: picast.js
then just quits with no error.
I tried adding --minUptime 10000 --spinSleepTime 10000 in the picast_start.sh file but it still says they're not set (with and without the --).

@dieguillo
Copy link

dieguillo commented Jun 11, 2016

This is often a naming error.
If you install from a package manager, your bin may be called 'nodejs', so you just need to symlink it:

ln -s /usr/bin/nodejs /usr/bin/node

@drentsoft
Copy link
Author

Thanks dieguillo,
Doing which node and which nodejs shows I have both. Doing ls -l on /usr/bin seems to show that node is symlinked to nodejs. Still experiencing the same issue.

@nicosandller
Copy link

Same issue here.

@emlyons2014
Copy link

I'm also experiencing the same issue:

pi@raspberrypi:/PiCAST $ sh picast_start.sh
Starting PiCAST3...
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: picast.js
pi@raspberrypi:
/PiCAST $

@FarhadGSRX
Copy link

+1; Same Issue. Just installed last night.

@JbIPS
Copy link

JbIPS commented Jul 27, 2016

Had the same issue and running node picast.js told me that it needed express. Installing it by typing npm i express solved this issue. Hope it's the same for you 😃

@nicosandller
Copy link

@JbIPS nope, that didn't fix the problem for me!

@Flappie
Copy link

Flappie commented Aug 13, 2016

@JbIPS Thanks mate, i'm just starting to digg more into this stuff and your command (npm i express) solved it for me, unforunatly i have no idea what i did :-D ;-)

@JbIPS
Copy link

JbIPS commented Aug 13, 2016

It install the 'express' library which is needed for picast to work. Don't know why it isn't install by default. Have fun 😀

@johnnogent
Copy link

Hello to all,
I have tested all the above and my issue is not fixed. Do you have another idea please?

Thanks

@jahanzeb07
Copy link

After installing express by npm i express and executing node picast.js, it worked like charm.

@cmakfr
Copy link

cmakfr commented Jan 25, 2017

same : install of express module was required with raspbian jessie

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

10 participants