Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build error at Node.js v12 #132

Merged
merged 4 commits into from Jun 7, 2019
Merged

Conversation

simon300000
Copy link
Contributor

@simon300000 simon300000 commented Jun 1, 2019

declaration: I have absolute 0 experience with C/C++ programming before this.
But this branch will build successfully at Node.js v12.3.1 at macOS 10.14.6

probably related to #131

reference:

tree-sitter/tree-sitter-bash@97e13b8

fsevents/fsevents#274

nodejs/nan#849

https://github.com/nodejs/nan/blob/master/doc/converters.md

https://v8docs.nodesource.com/node-0.8/dc/d0a/classv8_1_1_value.html#a646846ac3a30fcc1477bc4727a3d4a59

@simon300000
Copy link
Contributor Author

it seems only success at v10 and above at travis...

@simon300000
Copy link
Contributor Author

simon300000 commented Jun 1, 2019

I don’t know how to fix this problem;
So I removed ValueToString from utils.h.
nodejieba seems works fine without it?

Maybe a better PR is more suitable for solving this issue.

@simon300000
Copy link
Contributor Author

I deleted package-lock.json because it is not in sync with package.json, thus crash the build.

@yanyiwu yanyiwu merged commit 3576cf2 into luckykaiyi:master Jun 7, 2019
@yanyiwu
Copy link
Collaborator

yanyiwu commented Jun 7, 2019

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants