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

nodejieba 2.6.0 本地 pnpm install 失败 #287

Closed
yusixian opened this issue Apr 5, 2023 · 2 comments
Closed

nodejieba 2.6.0 本地 pnpm install 失败 #287

yusixian opened this issue Apr 5, 2023 · 2 comments

Comments

@yusixian
Copy link

yusixian commented Apr 5, 2023

尝试本地跑xLog项目,发现一直pnpm i失败,查了下nodejieba 库貌似不能2.6.0了,想问一下开发团队是如何解决的,或者有没有更详细的面向开发者的文档~
image

│ node-pre-gyp info it worked if it ends with ok
│ node-pre-gyp info using node-pre-gyp@1.0.10
│ node-pre-gyp info using node@16.18.0 | win32 | x64
│ node-pre-gyp info check checked for "C:\Programming\project\xLog\node_modules\.pnpm\nodejieba@2.6.0\node_modules\nodejieb  
│ node-pre-gyp http GET https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/nodejieba-v2.6.0-node-v93-win32-x64.t  
│ node-pre-gyp ERR! install response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/  
│ node-pre-gyp WARN Pre-built binaries not installable for nodejieba@2.6.0 and node@16.18.0 (node-v93 ABI, unknown) (fallin  
│ node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.6.  
│ gyp info it worked if it ends with ok
│ gyp info using node-gyp@9.3.0
│ gyp info using node@16.18.0 | win32 | x64
│ gyp info ok

找到了nodejieba 的 这个 issue
image

@DIYgod
Copy link
Member

DIYgod commented Apr 6, 2023

macOS has not encountered this problem, perhaps consider switching to https://github.com/napi-rs/node-rs/tree/main/packages/jieba

@DIYgod
Copy link
Member

DIYgod commented Apr 6, 2023

Sorry, this is a mistake. nodejieba should not have been included in the dependencies and has already been fixed in 9022075

@DIYgod DIYgod closed this as completed Apr 6, 2023
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

No branches or pull requests

2 participants