View Single Post
localhost's Avatar
Posts: 39 | Thanked: 20 times | Joined on Feb 2012 @ NL
#151
Originally Posted by nieldk View Post
A bit more to do.
Here is a more complete guide.

Please not last sentence in this. There is no systemd service at the moment. So, prey will need to be running in terminal until I have worked a bit more.

[CODE]$ sudo npm -g install prey
$ sudo prey config hooks post_install
I'm trying to set up prey on my Jolla, but something is failing at the last step above.
Code:
...
Setting permissions on /var/log/prey.log
chowning /var/log/prey.log to uid 996 and gid 991
Running "config activate" as prey
Error! Command failed: /bin/sh -c /usr/bin/node /usr/lib/node_modules/prey/node_modules/ocelot/runner.js prey /usr/lib/node_modules/prey/bin/prey config activate
child_process.js:1162
    throw errnoException(err, 'spawn');
          ^
Error: spawn EACCES
    at exports._errnoException (util.js:746:11)
    at ChildProcess.spawn (child_process.js:1162:11)
    at exports.spawn (child_process.js:995:9)
    at run_command (/usr/lib/node_modules/prey/node_modules/ocelot/runner.js:60:15)
    at Object.<anonymous> (/usr/lib/node_modules/prey/node_modules/ocelot/runner.js:95:1)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
Anyone an idea what I'm doing wrong?