Issue installing Edge Impulse CLI on Ubuntu 20.04

Hello ,
I am unable to install Edge impulse CLI on Ubuntu 20 , please help
heres the reult after running command.

npm install -g edge-impulse-cli
npm WARN deprecated request@2.88.2: request has been deprecated, see
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see
npm WARN deprecated @zeit/dockerignore@0.0.5: “@zeit/dockerignore” is no longer maintained
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See for details.
npm WARN checkPermissions Missing write access to /home/san/.npm-global/lib/node_modules/edge-impulse-cli
npm ERR! code ENOENT
npm ERR! syscall access
npm ERR! path /home/san/.npm-global/lib/node_modules/edge-impulse-cli
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, access ‘/home/san/.npm-global/lib/node_modules/edge-impulse-cli’
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR! /home/san/.npm/_logs/2021-07-06T19_15_35_009Z-debug.log

Manually delete the edge impulse folder from node_modules and try to reinstall.

use “cd ~.npm-global/lib/node_modules”

then “rm edge-impulse-cli”
and " npm install -g edge-impulse-cli@latest"


Thankyou it is working!

1 Like

Thank you @Sanyam ! I have added your steps to our CLI installation troubleshooting doc here: