Unable to run edge-impulse-data-forwarder because of lack of modules after cli installed only with warnings on win11

PS C:\WINDOWS\system32> npm install -g edge-impulse-cli --force
npm WARN using --force Recommended protections disabled.
npm WARN deprecated : This package is no longer supported.
npm WARN deprecated : This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated move-concurrently1.0.1: This package is no longer supported.
npm WARN deprecated is no longer maintained
npm WARN deprecated npmlog: This package is no longer supported.
npm WARN deprecated figgy-pudding: This module is no longer supported.
npm WARN deprecated har-validator5.1.5: this library is no longer supported
npm WARN deprecated copy-concurrently1.0.5: This package is no longer supported.
npm WARN deprecated request-promise4.2.4: request-promise has been deprecated because it extends the now deprecated request package, see
npm WARN deprecated are-we-there-yet1.1.7: This package is no longer supported.
npm WARN deprecated debug4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ()
npm WARN deprecated debug4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. )
npm WARN deprecated debug4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ()
npm WARN deprecated fs-write-stream-atomic1.0.10: This package is no longer supported.
npm WARN deprecated gauge2.7.4: This package is no longer supported.
npm WARN deprecated uuid3.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 deprecated request2.88.0: request has been deprecated, see
npm WARN deprecated fstream1.0.12: This package is no longer supported.

added 376 packages in 23s

14 packages are looking for funding
run npm fund for details
PS C:\WINDOWS\system32> edge-impulse-data-forwarder
node:internal/modules/cjs/loader:1148
throw err;
^

Error: Cannot find module ‘…/sdk/studio/api’
Require stack:

  • C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\config.js
  • C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\init-cli-app.js
  • C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\data-forwarder.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1145:15)
    at Module._load (node:internal/modules/cjs/loader:986:27)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)
    at Object. (C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\config.js:13:15)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions…js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)
    at Object. (C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\init-cli-app.js:7:18)
    at Module._compile (node:internal/modules/cjs/loader:1358:14)
    at Module._extensions…js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at Module.require (node:internal/modules/cjs/loader:1233:19)
    at require (node:internal/modules/helpers:179:18)
    at Object. ()
    at Module._compile ()
    at Module._extensions…js (
    at Module.load () {
    code: ‘MODULE_NOT_FOUND’,
    requireStack: [
    ‘C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\config.js’,
    ‘C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\init-cli-app.js’,
    ‘C:\Users\grsp\AppData\Roaming\npm\node_modules\edge-impulse-cli\build\cli\data-forwarder.js’
    ]
    }

Node.js v20.13.1

I would appreciate any suggestion regarding it!

Hello @grsp,

There’s been an issue with the latest version of the CLI.
We are working on a fix. Thanks for the heads up.

We will let you know when it will be fixed.

In the meantime, you can use the previous version (v1.24.0).

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

Best,

Louis

Hello @grsp,

We just published a new version (v1.26.0) of the CLI that fixes your issue.

Best,

Louis