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.
If you go to your node_modules directory and run the following command:
find -name "candump*"You will get the following result:
This means there is no
candumpanalyzerbutcandumpanalyzerjs.In the documentation they have provided the following code as example:
But even in their repository if you search for
candumpanalyzeryou will only get result inreadme.mdfile.