如何将我的电子版本从6升至9,以避免错误

发布于 2025-01-28 04:51:08 字数 436 浏览 3 评论 0原文

我想将电子版本从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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

腻橙味 2025-02-04 04:51:08

在您的软件包中。并保存文件。

接下来,在项目的根部打开命令行,然后运行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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文