I am currently working on a coding project, and would like to test them on my RaspPi. All of the code works when I run it on travis-ci. However, when I run it on RaspPi nothing happens. Here is a simplified version:
~$ npm install jsdoc
# bunch of stats that all report success
~$ jsdoc --help
~$ jsdoc --help
As you can see, jsdoc is outputting nothing, as if it never installed. But the following shows it is installed:
~$ jsdoc
bash: jsdoc: command not found
~$ npm install jsdoc
~$ jsdoc --help
~$ jsdoc --help
For the full repo, look here: https://github.com/FreezePhoenix/XtraUtils/tree/JavaScript
node -v
? – Aurora0001 May 27 '18 at 19:28sudo apt-get install node
which installed it asnodejs
... andnode -v
gives nothing. – FreezePhoenix May 27 '18 at 19:32cat /etc/os-release
. – Aurora0001 May 27 '18 at 19:36jsdoc
command in the second example does not prove thatjsdoc --help
failed ..... a fail will be proven only if you usejsdoc --help
in the second example and you get a help doc – jsotola May 27 '18 at 23:21