Error Chain
- Unable to access Hermes GitHub repository for fetching the updates in China
- Use Watt Toolkit for GitHub routing
hermes update
hermes desktop
[email protected]prebuilt binary download fails:unable to verify the first certificate
- Falls back to
node-gypsource compilation
- Fails because no Visual Studio / Build Tools installed
Watt Toolkit, a Double-edged Sword
It helps me connect to GitHub but it is also the causer why I encounter downloading error.
Root Cause
Node.js cannot verify GitHub's SSL certificate when downloading the
get-windows prebuilt binary. The error message itself hints at the fix:unable to verify the first certificate; if the root CA is installed locally, try running Node.js with --use-system-ca