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

can not build in electron #218

Open
dck1997 opened this issue Jan 18, 2023 · 2 comments
Open

can not build in electron #218

dck1997 opened this issue Jan 18, 2023 · 2 comments

Comments

@dck1997
Copy link

dck1997 commented Jan 18, 2023

nodejieba可以正常npm install,但运行打包过程中报错,报错日志显示请求https://cdn.npmmirror.com/binaries/nodejieba/v2.5.2/nodejieba-v2.5.2-electron-v9.1-win32-x64.tar.gz,观看源码后发现是因为node_abi返回的是electron-v9.1,并不是node-v83

@dck1997
Copy link
Author

dck1997 commented Jan 18, 2023

node-pre-gyp info using [email protected]
node-pre-gyp info using [email protected] | win32 | x64
node-pre-gyp http GET https://cdn.npmmirror.com/binaries/nodejieba/v2.5.2/nodejieba-v2.5.2-electron-v9.1-win32-x64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://cdn.npmmirror.com/binaries/nodejieba/v2.5.2/nodejieba-v2.5.2-electron-v9.1-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for [email protected] and [email protected] (electron-v9.1 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://cdn.npmmirror.com/binaries/nodejieba/v2.5.2/nodejieba-v2.5.2-electron-v9.1-win32-x64.tar.gz

@1gao-176
Copy link

我的也是

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