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

Issues on Raspberry Pi #12

Closed
ryanlaux opened this issue Feb 12, 2016 · 4 comments
Closed

Issues on Raspberry Pi #12

ryanlaux opened this issue Feb 12, 2016 · 4 comments

Comments

@ryanlaux
Copy link

Trying to get this to run on raspberry pi 1 b+, cannot run dasher after using sudo npm run start

Here is my log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'start' ]
2 info using npm@2.14.7
3 info using node@v4.2.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart dasher@1.0.0
6 info start dasher@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info dasher@1.0.0 Failed to exec start script
9 verbose stack Error: dasher@1.0.0 start: node app.js
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:214:16)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at EventEmitter.emit (events.js:172:7)
9 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack at emitTwo (events.js:87:13)
9 verbose stack at ChildProcess.emit (events.js:172:7)
9 verbose stack at maybeClose (internal/child_process.js:818:16)
9 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
10 verbose pkgid dasher@1.0.0
11 verbose cwd /home/pi/dasher
12 error Linux 4.1.17+
13 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "start"
14 error node v4.2.1
15 error npm v2.14.7
16 error code ELIFECYCLE
17 error dasher@1.0.0 start: node app.js
17 error Exit status 1
18 error Failed at the dasher@1.0.0 start script 'node app.js'.
18 error This is most likely a problem with the dasher package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node app.js
18 error You can get their info via:
18 error npm owner ls dasher
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

@maddox
Copy link
Owner

maddox commented Feb 12, 2016

Maybe try with node 0.12.x I haven't tested it with any version of node higher than that.

@ryanlaux
Copy link
Author

I can give that a shot. For now I ended up writing a bare bones node script to send a url post which seems to be working. Would like to use your app though. Is there a way I can install a specific node version? I installed and updated a bunch of times and I think i ended up with version 4.1.1 or something like that

On Fri, Feb 12, 2016 at 10:08 AM, Jon Maddox notifications@github.com
wrote:

Maybe try with node 0.12.x I haven't tested it with any version of node higher than that.

Reply to this email directly or view it on GitHub:
#12 (comment)

@maddox
Copy link
Owner

maddox commented Mar 7, 2016

The project seems to work fine now with the latest node. Would you mind trying it again on the Pi?

I honestly don't really see exactly what the error is here. It's just general. Since this is old, and it's run on a Pi before, I'm going to close this.

Feel free to re-open with more information.

Thanks!

@maddox maddox closed this as completed Mar 7, 2016
@ryanlaux
Copy link
Author

ryanlaux commented Mar 7, 2016

No worries, will try again! So far been running smooth with a bare-bones python script that just scans and sends http command. Getting a pi 3 this week though, will try dasher on that!

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

2 participants