coder icon indicating copy to clipboard operation
coder copied to clipboard

SETPIPASS: COMMAND NOT FOUND

Open Sispheor opened this issue 11 years ago • 2 comments

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 [email protected] No repository field. npm WARN package.json [email protected] No repository field. npm WARN package.json [email protected] No repository field.

Did I miss something? Plz help :)

Sispheor avatar Jan 30 '14 13:01 Sispheor

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'] );

Sispheor avatar Jan 31 '14 08:01 Sispheor

Created link dir and resolved the problem

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

vijaynatesan avatar Feb 02 '16 17:02 vijaynatesan