We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
安装时出现如下错误,请问这个可能是哪里出问题了?
错误图片地址 https://s3.ax1x.com/2020/12/10/riPfUK.jpg
The text was updated successfully, but these errors were encountered:
npm run rebuild 遇到同样问题 macOS Catalina 10.15.7
Sorry, something went wrong.
这个问题有人解决了吗?
node版本太低 我用js_native_api.h.patch 解决了此问题
js_native_api.h.patch
21c21 < #define NAPI_VERSION 6 --- > #define NAPI_VERSION 5 481c481 < // #ifdef NAPI_EXPERIMENTAL --- > #ifdef NAPI_EXPERIMENTAL 525c525 < // #endif // NAPI_EXPERIMENTAL --- > #endif // NAPI_EXPERIMENTAL
执行 patch -R ~/.electron-gyp/10.1.0/include/node/js_native_api.h js_native_api.h.patch
patch -R ~/.electron-gyp/10.1.0/include/node/js_native_api.h js_native_api.h.patch
仅供参考
No branches or pull requests
安装时出现如下错误,请问这个可能是哪里出问题了?
The text was updated successfully, but these errors were encountered: