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 nodewhich installed it asnodejs... andnode -vgives nothing. – FreezePhoenix May 27 '18 at 19:32cat /etc/os-release. – Aurora0001 May 27 '18 at 19:36jsdoccommand in the second example does not prove thatjsdoc --helpfailed ..... a fail will be proven only if you usejsdoc --helpin the second example and you get a help doc – jsotola May 27 '18 at 23:21