node-shared-cache icon indicating copy to clipboard operation
node-shared-cache copied to clipboard

Build issue with node v 10+

Open seftera opened this issue 6 years ago • 1 comments

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?

seftera avatar Aug 06 '18 08:08 seftera

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

manueltimita avatar Feb 21 '19 23:02 manueltimita