https://rancher.com/ logo
p

powerful-belgium-28276

06/01/2022, 7:59 PM
Hi all question on the latest version v1.3.0, a clean install with
Copy code
npm ci
throws an error about node-gyp as it performs a rebuild, which did not happen on v1.2.1 - any guidance here? The linux deps mention needing to install node-gyp https://github.com/rancher-sandbox/rancher-desktop/tree/main#linux, but the build I am doing is on windows https://github.com/rancher-sandbox/rancher-desktop/tree/main#linux Some logs for reference
Copy code
npm ERR! code 1
npm ERR! path C:\Users\t629230\UBS\Dev\GCTO\Rancher Desktop Suite\rancher-desktop\node_modules\ffi-napi
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp-build
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@9.0.0
npm ERR! gyp info using node@16.14.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.7.4 found at "C:\Program Files\choco\miniconda\4.7.12.2109080818\python.exe"
npm ERR! gyp WARN install got an error, rolling back install
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: ENOENT: no such file or directory, stat 'C:\Users\t629230\UBS\Dev\GCTO\Rancher Desktop Suite\rancher-desktop\node_modules\ffi-napi\true'
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:\\UBS\\Dev\\node-v16.14.0\\node.exe" "C:\\UBS\\Dev\\node-v16.14.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\t629230\UBS\Dev\GCTO\Rancher Desktop Suite\rancher-desktop\node_modules\ffi-napi
npm ERR! gyp ERR! node -v v16.14.0
npm ERR! gyp ERR! node-gyp -v v9.0.0
npm ERR! gyp ERR! not ok

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\t629230\AppData\Local\npm-cache\_logs\2022-05-31T21_00_08_904Z-debug-0.log
p

proud-jewelry-46860

06/01/2022, 10:59 PM
Hmm, I don't think I've seen that error — do you have more logs to figure why
node-gyp
is looking for
…\true
? That seems like there's a bug somewhere…
8 Views