nodejieba
nodejieba copied to clipboard
Won't compile on Node.js v10.16.3 (LTS)
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?
can you use v12 with npm > 6 ? for example: https://travis-ci.org/yanyiwu/nodejieba/jobs/542785432 it compile succeed.
I could but can't use v12 in my project.
so can you use npm 5 for your node v10
Same error here trying to install local-npm package Fails also with node 12 https://www.npmjs.com/package/local-npm
Try @node-rs/jieba
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.