https://promptfoo.dev/ logo
global install with nvm (Windows)
# ❓|questions
b
Hello, are there any known issues with installaing promptfoo globally on Windows + NVM. Perhaps some pre-requisites that I missed? I've tried installing a few times using different v18 and v20 node versions, but not luck. My experience is that I first get a few warnings about EBUSY cleaning up files, for example: C:\\Users\\[USERNAME]\\AppData\\Roaming\\nvm\\v20.17.0\\node_modules\\promptfoo\\node_modules\\@playwright This is followed by an error that appears to be related to python and/or node-gyp. npm error path C:\Users\[USERNAME]\AppData\Roaming\nvm\v20.17.0\node_modules\promptfoo\node_modules\better-sqlite3 npm error command failed npm error command C:\windows\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild --release npm error prebuild-install warn install unable to get local issuer certificate npm error gyp info it worked if it ends with ok npm error gyp info using node-gyp@10.1.0 npm error gyp info using node@20.17.0 | win32 | x64 npm error gyp ERR! find Python Thoughts?
I installed Python (odd I don't see pre-requisites section in docs outlining if this is needed or not), and I am getting something else now. m error gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v20.17.0/node-v20.17.0-headers.tar.gz failed, reason: unable to get local issuer certificate
2 Views