The problem is that when I want to enter the following command, an error appears that does not allow me to proceed. I hope someone helps me.
Error:
erikstephan@raspberrypi:~ $ sudo npm config set user root && sudo npm install edge-impulse-linux -g --unsafe-perm
npm ERR! user is not a valid npm option
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2023-11-22T04_44_03_821Z-debug-0.log
To resolve this issue, you can simply remove the sudo npm config set user root part of the command. The sudo npm install edge-impulse-linux -g --unsafe-perm command should be sufficient to install the package globally on your system.
It will be great if you can update instruction in Raspberry Pi 4 | Edge Impulse Documentation and remove there kine “npm config set user root”.
Is it OK to use node_20.x instead of node_16.x in your installation procedure?