jruizgit / rules

Durable Rules Engine
MIT License
1.14k stars 209 forks source link

Error building in Windows 10 #354

Closed aravindnc-olt closed 3 years ago

aravindnc-olt commented 3 years ago

I'm getting error after gyp rebuild command, after installation. Any idea what I'm missing, here is the error log. I have already installed Python and Windows Build Tools.

gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:310:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Windows_NT 10.0.17763
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Work\test\proj\node_modules\durable
gyp ERR! node -v v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
npm WARN rollback Rolling back depd@1.0.1 failed (this is probably harmless): EPERM: operation not permitted, lstat 'C:\Work\test\proj\node_modules\durable\node_modules'
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! durable@0.36.85 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the durable@0.36.85 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.