tswaters / react-thread-poc

Proof of concept for offloading react server rendering to a thread.
10 stars 1 forks source link

Doesn't install on node@11 #2

Open vjpr opened 5 years ago

vjpr commented 5 years ago

node-webworker-threads fails to install native deps. https://github.com/audreyt/node-webworker-threads/issues/193

Also napa.js node@11 build requires npm i -g cmake-js.

tswaters commented 5 years ago

Interesting about the cmake-js -- this is only required if napajs needs to build from source. They post a few pre-compiled binaries to download that work for a given architecture & v8 version.

Indeed, v8 v67 is not available yet in their precompiled versions so it'll fall back on their build tooling which, for whatever, reason requires cmake-js.

I'm not sure if there's much I can do here but to add a note in the readme directing users to the various upstream repositories for support.