node-shared-cache
node-shared-cache copied to clipboard
Build issue with node v 10+
Hi,
Module cannot be built with node version 10+ . I have successfully built on node/9.11.2. with error: Unable to build: ‘class v8::Object’ has no member named ‘ForceSet’
How can package be built to be supported on latest node revisions?
This is caused by the nan
package, which is a dependency of node-shared-cache
. See this SO answer for more details: https://stackoverflow.com/a/50112270
Here are your options: https://medium.com/@invicticide/patching-an-npm-dependency-without-going-completely-insane-aa0b110a80c