添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I have tried installing edge-impulse-cli but I have been getting the following error in Linux

npm WARN deprecated @zeit /[email protected]: “ @zeit /dockerignore” is no longer maintained
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request-promise has been deprecated because it extends the now deprecated request package, see http.s://github.com/request/request/issues/3142
npm WARN deprecated [email protected]: 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. (https.://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: 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. (https.://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: 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. ( ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub )
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See h-ttps://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

friend, I think the messages indicate that you need to upgrade some libraries, another way out is to use a virtual machine with a recommended distro and try to run tests.

I don’t like dealing with many dependencies, but anyone who works with Linux needs to get used to it.

Hello @melta101 ,

I don’t think those are errors, they are warnings.

Can you check if you see something like that at the end of the installation:

+ [email protected]
added 377 packages from 266 contributors in 10.947s

That would indicate it has been successfully installed.

Best,

Louis

i have gotten the following output upon using the npm installation command

npm WARN deprecated @zeit/[email protected]: “@z.eit/dockerignore” is no longer maintained
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: request-promise has been deprecated because it extends the now deprecated request package, see https://.github.com/request/request/issues/3142
npm WARN deprecated [email protected]: 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. (ReDos Vulnerability Regression Visibility Notice · Issue #797 · debug-js/debug · GitHub)
npm WARN deprecated [email protected]: 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. (http.s://github.com/visionmedia/debug/i.ssues/797)
npm WARN deprecated [email protected]: 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. (h.ttps://github.com/visionmedia/debug/issues/797)
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
npm WARN deprecated [email protected]: request has been deprecated, see ht.tps://github.com/request/request/issues/3142

changed 378 packages in 30s

doesn’t seem like it for installed

@melta101 It looks like the EdgeImpulse CLI was already installed, so you get a slightly different message than what Louis stated.

Does edge-impulse-daemon --version return a version number?

I just verified on Widows 10 that the EdgeImpulse CLI does not like node.js versions:

  • v14.21.3
  • v20.6.0
  • I could only get the EI CLI to install under node v18.7.1.

    What does node -v return?

    So I got the EI CLI to run under node.js v20.

    The following worked for v20.6.0 but not v14.21.3 on Windows 10. I am not sure all of the following is needed but it worked for me.

    Uninstall everything node.js related:

  • npm -g uninstall node-gyp
  • npm uninstall -g edge-impulse-cli
  • Uninstall node.js from Add/Remove Programs
  • Delete folder %programfiles%\nodejs
  • Delete folder %appdata%\npm
  • Delete folder %appdata%\npm-cache
  • I removed all Pythons including Miniconda3 leaving only one: py --list-paths # Show all Pythons
  • I left C:\Python311
  • Remove folder C:\ProgramData\chocolatey
  • Remove folder C:\ProgramData\ChocolateyHttpCache
  • Remove all node.js related Environment Variables and Paths
  • To do so, hit “Start” and search for “Environment Variables”
  • Remove anything related to System variables chocolatey, npm, nvm and node
  • Edit your PATH and remove everything that references chocolatey, npm, nvm and node
  • Make sure the PATH has a reference to your singleton Python folder
  • Cold boot
  • Official installer here: Download | Node.js
  • Execute node-v20.6.0-x64.msi
  • node -v
    v20.6.0
    
  •