如何将我的电子版本从6升至9,以避免错误
我想将电子版本从6个稳定版本升级到9 我的API问题我尝试了NPM基金和NPM审核,但并不能纠正 问题可能是某人有其他方法可以做到这是我遇到的错误:(
电子)app的默认值。 当前“ false”。在电子9中它将变为“真”。有关更多信息 请检查 https://github.com/electron/electron/electron/electron/issues/18397 节点pre-gyp信息此节点实例不支持Node-api版本6 节点pre-gyp信息此节点实例不支持Node-api版本6 节点pre-gyp信息此节点实例不支持Node-api版本6 节点pre-gyp信息此节点实例不支持Node-api版本6
I would like to upgrade my electron version from 6 a stable version to 9 because of a
problem with my api I have tryied npm fund and npm audit but it doesn't correct the
problem may be someone have an other way to do that these are the errors I'm getting :
(electron) The default value of app.allowRendererProcessReuse is deprecated, it is
currently "false". It will change to be "true" in Electron 9. For more information
please check https://github.com/electron/electron/issues/18397
node-pre-gyp info This Node instance does not support builds for Node-API version 6
node-pre-gyp info This Node instance does not support builds for Node-API version 6
node-pre-gyp info This Node instance does not support builds for Node-API version 6
node-pre-gyp info This Node instance does not support builds for Node-API version 6
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在您的
软件包中。并保存文件。
接下来,在项目的根部打开命令行,然后运行
npm install
。参见手动编辑
package.json
文件以获取更多信息。Within your
package.json
file (which should be at the root directory of your project), edit your devDependencies Electron version line to"electron": "^9.0.0"
and save the file.Next, open a command line at the root of your project and run
npm install
.See Manually editing the
package.json
file for more information.