Operating System: Rasbian
I am trying to follow this https://www.npmjs.com/package/@canboat/canboatjsto to use the following command : candump can0 | candumpanalyzer.
However, after trying all these commands:
$ sudo npm install @canboat/canboatjs
$ sudo npm install --force @canboat/canboatjs
$ sudo npm i @canboat/canboatjs
$ sudo installing can-utils
It still tells me that candumpanalyzer: command not found.
I get Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@canboat/canboatjs/node_modules/@serialport/bindings/build' and I am in sudo ...
Could it be a problem with Raspbian ?
I am running out of ideas to try and use this command. Any ideas would be appreciated. Thank you in advance.