I installed python, then Jupyter, then nodejs with tools as mentioned on Edge Impulse CLI install documentation. I get the following error after I execute the “npm install -g edge-impulse-cli --force” command
npm error code 1
npm error path C:\Users\mohansa\AppData\Roaming\npm\node_modules\edge-impulse-cli\node_modules@serialport\bindings
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@11.0.0
npm error gyp info using node@22.14.0 | win32 | arm64
npm error gyp info find Python using Python version 3.13.3 found at “C:\Users\mohansa\AppData\Local\Programs\Python\Python313\python.exe”
npm error gyp http GET “https://nodejs.org/download/release/v22.14.0/node-v22.14.0-headers.tar.gz”
npm error gyp http fetch GET “https://nodejs.org/download/release/v22.14.0/node-v22.14.0-headers.tar.gz” attempt 1 failed with SELF_SIGNED_CERT_IN_CHAIN
Steps Taken:
- U:>npm install node-gyp@latest -g
changed 100 packages in 4s
17 packages are looking for funding
runnpm fund
for details
Then ran command again
U:>npm install -g edge-impulse-cli --force
Expected Outcome:
Hoping no errors as earlier
Actual Outcome:
Same error as I posted above
Reproducibility:
-Always
Environment:
|OS Name|Microsoft Windows 11 Enterprise|
|Version|10.0.26100 Build 26100|
|Other OS Description |Not Available|
|OS Manufacturer|Microsoft Corporation|
|System Name|QCOM-Z0YBJH4JEW|
|System Manufacturer|LENOVO|
|System Model|21N2S01F00|
|System Type|ARM64-based PC|
|System SKU|LENOVO_MT_21N2_BU_Think_FM_ThinkPad T14s Gen 6|
|Processor|Snapdragon(R) X Elite - X1E78100 - Qualcomm(R) Oryon™ CPU, 3417 Mhz, 12 Core(s), 12 Logical Processor(s)|
|BIOS Version/Date|LENOVO N42ET87W (2.17 ), 1/20/2025|
|SMBIOS Version|3.3|
|Embedded Controller Version|1.26|
|BIOS Mode|UEFI|
|BaseBoard Manufacturer|LENOVO|