nodejieba icon indicating copy to clipboard operation
nodejieba copied to clipboard

Won't compile on Node.js v10.16.3 (LTS)

Open binarykitchen opened this issue 6 years ago • 6 comments

Try to install this package using Node.js v10.16.3. It will fail with this error

In file included from ../node_modules/nan/nan.h:190:
../node_modules/nan/nan_maybe_43_inl.h:88:15: error: no member named 'ForceSet' in 'v8::Object'
  return obj->ForceSet(GetCurrentContext(), key, value, attribs);
         ~~~  ^

Similar to https://github.com/nodejs/nan/issues/763

Maybe consider bumping some of your packages such as nan?

binarykitchen avatar Sep 02 '19 22:09 binarykitchen

can you use v12 with npm > 6 ? for example: https://travis-ci.org/yanyiwu/nodejieba/jobs/542785432 it compile succeed.

yanyiwu avatar Sep 03 '19 15:09 yanyiwu

I could but can't use v12 in my project.

binarykitchen avatar Sep 03 '19 21:09 binarykitchen

so can you use npm 5 for your node v10

yanyiwu avatar Sep 04 '19 04:09 yanyiwu

Same error here trying to install local-npm package Fails also with node 12 https://www.npmjs.com/package/local-npm

phyr0s avatar Nov 15 '19 15:11 phyr0s

Try @node-rs/jieba

Brooooooklyn avatar May 12 '20 03:05 Brooooooklyn

This issue has not been updated for over 3 years and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] avatar Sep 16 '24 13:09 github-actions[bot]