Open martinlevesque opened 5 years ago
Had the same issue on my project. Moved to unzipper
fork instead, since this project seems abandoned unfortunately
The error I was getting when requiring this after the upgrade to node 12 is this:
/usr/local/bin/node[190]: ../src/node_contextify.cc:651:static void node::contextify::ContextifyScript::New(const v8::FunctionCallbackInfo<v8::Value>&): Assertion `args[1]->IsString()' failed.
Hopefully will save someone else some time since search was coming up pretty empty on that one
Same root cause as https://github.com/EvanOxfeld/node-unzip/issues/115
I changed my node version to 10.16.0, and it works
With Node 12, simply doing a require("unzip") will crash your application with the following error: