kyriosli / node-shared-cache

An interprocess shared LRU cache module for Node.JS
149 stars 30 forks source link

Build issue with node v 10+ #14

Open seftera opened 6 years ago

seftera commented 6 years ago

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?

manueltimita commented 5 years ago

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