Installing on Ubuntu 20.04
-
Trying to add this to a properly working system, can't get past the last step:
npm install jsreport-cli -g
mkdir jsreportapp
cd jsreportapp
jsreport initError message is " jsreport init-->Command 'jsreport' not found, did you mean: foo, foo, foo". Should I install globally with sudo?
Would appreciate any tips or tricks. It would seem easier to use Docker version but then injecting new templates before using AWS serverless would be better locally? Thanks in advance.
Vince
-
Please try to reinstall npm, you can follow here also
https://medium.com/@jagatjyoti.1si13cs040/npm-g-install-npm-package-not-working-as-desired-why-why-why-19795abf0b59
-
Thanks for the fast response, I upgraded from node 10.x to 12.x and npm is latest, same result. I will try to look at the medium piece next week when I have more time. For now, probably default to docker. Much appreciated!