plasma-umass / BLeak

BLeak: Automatically Debugging Memory Leaks in Web Applications
MIT License
408 stars 41 forks source link

`yarn install` errors #79

Closed foreseaz closed 2 years ago

foreseaz commented 2 years ago

Hi BLeak devs, we found the project really interesting and would like to port it to NodeJS. But we're stuck at the yarn install. We've tried running it on Mac M1 and Intel chips on Mac OS and Ubuntu. It doesn't work and the following node-gyp occurs. Would you please take a look at it? Thanks!

fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make: *** [Release/obj.target/microtime/src/microtime.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (node:events:369:20)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:290:12)
gyp ERR! System Darwin 21.5.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/chenxizh/workspace/practium/BLeak/node_modules/microtime
gyp ERR! node -v v15.14.0
gyp ERR! node-gyp -v v7.1.2
gyp ERR! not ok
foreseaz commented 2 years ago

We resolved it by bumping up some dependencies' versions: https://github.com/nleak/NLeak/pull/2/files

Close the issue.

emeryberger commented 2 years ago

Great! Would you please submit a PR so we can merge this?

foreseaz commented 1 year ago

@emeryberger sure! will do!