$ electron-builder install-app-depsF:\ElectronProjects\azur-mc-helper\node_modules\errlop\edition-es5\index.js:61_this=_super.call(this,input.message||input)||this^Error:editions-autoloader-none-broadened:Unable to determine a suitable edition,even after broadening.atnewErrlop(F:\ElectronProjects...
删除node_modules文件夹和package-lock.json或yarn.lock文件。 运行npm install或yarn来重新安装依赖。 使用electron-rebuild或其他工具来重建原生模块,以确保它们与当前的 Electron 版本兼容。例如,运行npx electron-rebuild。 4. 检查electron-builder的配置 确保electron-builder的配置文件中没有错误。 查看electron-builde...
Electron-Builder Version: 22.13.1 Node Version: v14.15.0 Electron Version: 15.2.0 Electron Type (current, beta, nightly): current Target: Windows I use yarn to install dependencies on MacOS and it works normally, but an error occurs in t...
一般electron-builder 的项目下完包的最后,会调用 electron-builder install-app-deps 命令重新构建本地依赖 换了电脑后就是在这里卡住,卡住几个小时都不动,也不报错,无奈尝试遍各种方法都不行,比如卸载 node 重新安装,卸载 python 和 visual studio,修改 npm 配置改为淘宝镜像地址,使用 yarn,cnpm 安装,都是不行...
The same error happens when I run either electron-builder install-app-deps or electron-builder build -m. Console output The error is thrown in this error trap in the builder-util package, but that's as far as I can responsibly go. This code is working in a standalone repo (with ...
51CTO博客已为您找到关于RunScriptError: Run "sh -c electron-builder install-app-deps" error, exit co的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及RunScriptError: Run "sh -c electron-builder install-app-deps" error, exit co问答内容。更多RunSc
"postinstall": "electron-builder install-app-deps", "build:win": "npm run build && electron-builder --win --config", "build:mac": "npm run build && electron-builder --mac --config", "build:linux": "npm run build && electron-builder --linux --config" ...
"rebuild":"electron-rebuild -f -w sqlite3","postinstall":"electron-builder install-app-deps" 执行对应的命令 npm run rebuild 报错: App threw an error during load Error: Cannotfindmodule'E:\*\node_modules\sqlite3\lib\binding\electron-v1.4-win32-x64\node_sqlite3.node'at Module._resolveFile...
1在package文件中注释掉本地库,npm install 否则npm会报错 2 拷贝本地库到 node_modules 3 如果出现 xxx.node 不是32位有效程序,在本地库中执行npm build 或者npm install 4 如果出现错误‘【Electron】Error: A dynamic link library (DLL) initialization routine failed.’ 执行electron-builder install-app-...