googlecreativelab / coder

A simple way to make web stuff on Raspberry Pi
http://goo.gl/coder
Apache License 2.0
2.42k stars 276 forks source link

SETPIPASS: COMMAND NOT FOUND #69

Open Sispheor opened 10 years ago

Sispheor commented 10 years ago

Hi ! I try to run coder on Ubuntu. I have followed this tutorial https://github.com/googlecreativelab/coder/wiki/Load-onto-a-device-without-installing-OS

But I can't log into coder. I get this message SUDO: /HOME/NICO/PROJECTS/CODER/CODER-BASE/SUDO_SCRIPTS/SETPIPASS: COMMAND NOT FOUND

I have typed this before: echo "" > sudo_scripts/setpipass

The sudo_scripts folder doesn't exist by the way, I had to create it first.

Furthermore, when I type npm install I get this message: npm WARN package.json consolidate@0.8.0 No repository field. npm WARN package.json express-params@0.0.3 No repository field. npm WARN package.json mustache@0.7.2 No repository field.

Did I miss something? Plz help :)

Sispheor commented 10 years ago

I fixed that issue by replace the line number 349 in apps/auth/app.js

var setpass = spawn( '/usr/bin/sudo', [setpipass] );

by this one

var setpass = spawn( '/usr/bin/sudo', ['/usr/bin/passwd', 'pi'] );
vijaynatesan commented 8 years ago

Created link dir and resolved the problem

ln -s /home/pi/coder/raspbian-addons/home/coder/coder-dist/coder-base/sudo_scripts/ sudo_scripts