Cant find data forwarder

Hi all, i cant get the data forwarder working, i have followed all the download and install instructions, install the Additional Node.js tools, tried to versions of node.js. still nothing, there is probably some simple thing im forgetting…

when i check the PATH it seems right as discussed in another post, but in my C:\Users\karla\AppData\Roaming\npm folder there is the files, but in the file path below, it seems to be looking for them in a different location: i do not have the sub folders: \node_modules\edge-impulse-cli\build\cli in my \npm folder…

anyone help me?

see error below:

PS C:\WINDOWS\system32> edge-impulse-data-forwarder
node:internal/modules/cjs/loader:936
throw err;
^

Error: Cannot find module ‘C:\Users\karla\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\data-forwarder.js’
←[90m at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:778:27)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)←[39m
←[90m at node:internal/main/run_main_module:17:47←[39m {
code: ←[32m’MODULE_NOT_FOUND’←[39m,
requireStack: []
}

Node.js v17.0.1
PS C:\WINDOWS\system32>

Hi @kwfb,

Looks like the CLI is not correctrly installed.

Can you try:

npm uninstall -g edge-impulse-cli
npm install -g edge-impulse --force

and paste errors if any?

If you still have issues you can also try the install script: https://github.com/edgeimpulse/ei-install-scripts

Aurelien

1 Like

Yes it worked for me but i changed ;
npm install -g edge-impulse --force
to
npm install -g edge-impulse-cli --force
Thanks…

It seems there was a small typo in @aurel 's message.

This is correct.

npm install -g edge-impulse-cli --force

Best,

Louis

image
I’m getting this error trying to install edge impulse. I installed Node.js 5 times now.

Hello @kkjoshi999,

Reading from your log outputs, have you installed Visual Studio including the “Desktop development with C++”?

Best,

Louis