Venemo / node-lmdb

Node.js binding for lmdb
MIT License
359 stars 71 forks source link

Latest version fails on node-gyp build for windows #222

Open GustavPS opened 2 weeks ago

GustavPS commented 2 weeks ago

Latest version fails on windows due to a bug in node-gyp.

npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node-gyp-build
npm error 'C:\Program' is not recognized as an internal or external command,
npm error operable program or batch file.

The bug was introduced in node-gyp-build v4.8.1 due to this commit. They also have an issue open since May regarding this bug. I suggest downgrading to node-gyp-build v4.8.0 while this is not fixed to avoid having users having to override the node-gyp-build peer-dependency

GustavPS commented 2 weeks ago

A fix was just merged, so upgrading to v4.8.2 would be better