-
Notifications
You must be signed in to change notification settings - Fork 57
Description
The installation worked using npm install -g on the latest version of node.
However on node version 21.1.0 on Windows, it fails with the following error:
npm ERR! code 1
npm ERR! path C:\Users\yash_ganthe\AppData\Roaming\npm\node_modules\gtfs-to-html\node_modules\better-sqlite3
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c prebuild-install || node-gyp rebuild --release
npm ERR! prebuild-install warn install unable to get local issuer certificate
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using [email protected]
npm ERR! gyp info using [email protected] | win32 | x64
npm ERR! gyp info find Python using Python version 3.12.3 found at "C:\Program Files\Python312\python.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
Are there any pre-requisites for the installation to succeed?