Edge-impulse-daemon -Error

After installing Edge impulse cli , When I run the command - edge-impulse-daemon, I am facing this issue

C:\Users\Manivannan>edge-impulse-daemon
C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\bindings\bindings.js:135
throw err;
^

Error: Could not locate the bindings file. Tried:
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\build\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\build\Debug\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\build\Release\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\out\Debug\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\Debug\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\out\Release\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\Release\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\build\default\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\compiled\14.15.4\win32\x64\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\addon-build\release\install-root\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\addon-build\debug\install-root\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\addon-build\default\install-root\bindings.node
→ C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\lib\binding\node-v83-win32-x64\bindings.node
at bindings (C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\bindings\bindings.js:126:9)
at Object. (C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\lib\win32.js:1:36)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object. (C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings\lib\index.js:6:22)
at Module._compile (internal/modules/cjs/loader.js:1063:30) {
tries: [
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\build\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\build\Debug\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\build\Release\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\out\Debug\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\Debug\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\out\Release\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\Release\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\build\default\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\compiled\14.15.4\win32\x64\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\addon-build\release\install-root\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\addon-build\debug\install-root\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\addon-build\default\install-root\bindings.node’,
‘C:\Users\Manivannan\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules\@serialport\bindings\lib\binding\node-v83-win32-x64\bindings.node’
]
}

@Mani could you post the output of

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

Hey @janjongboom , the issue get resolved , when I upgraded the Visual studio C++ to the latest version. Thank you

1 Like