/home/abbatyya/.electron-gyp/20.0.2/include/node/v8-template.h:807:8: note: candidate: ‘void v8::ObjectTemplate::SetAccessor(v8::Local<v8::String>, v8::AccessorGetterCallback, v8::AccessorSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute, v8::SideEffectT...
File "F:\my\code\electron\my-electron\node_modules\_node-gyp@8.2.0@node-gyp\gyp\pylib\gyp\__init__.py", line 654, in main return gyp_main(args) File "F:\my\code\electron\my-electron\node_modules\_node-gyp@8.2.0@node-gyp\gyp\pylib\gyp\__init__.py", line 629, in gyp_mai...
node-gyp failed to rebuild 'C:\Users\user\Desktop\app\node_modules\blake2'. For more information, rerun with the DEBUG environment variable set to "electron-rebuild". Error: Could not find any Visual Studio installation to use Error: node-gyp failed to rebuild 'C:\Users\user\Desktop\app\...
安装node-gyp和electron-rebuild (项目内安装) npm i --save-dev node-gyp / npm i --save-dev node-gyp node rebuild(走的是.node_modules.binnode-gyp,通过node index.js 启动应用)和 electron-rebuild (走的是 .node_modules.binelectron-rebuild,通过electron . 启动应用)两种开发互斥,只能二选一...
gypERR!node-v v14.20.0gypERR!node-gyp-v v5.1.0gypERR!notok node-pre-gypERR!build error node-pre-gypERR!stackError:Failedto execute'/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/home/baixin/rpa-robot-linux/no...
在electron项目中,想使用sharp库,需要利用node-gyp重新编译才能引入使用。但是再利用electron-rebuild重新编译sharp的过程中,直接报错。错误信息和错误日志如下,有大佬能帮忙看一下么?找不到编译错误的具体原因报错截图: log日志: 0 info it worked if it ends with ok 1 verbose cli [ 'C:\\Program Files\\node...
这是我修改过后的rebuild.js,因为install最后报错,但是看日志并没有具体执行过程的输出,找不到问题,因为我对nodejs并不熟悉,我网上找了办法去显示子线程的日志,然后才找到rebuild失败的原因; const path = require('path'); const child = require('child_process');
node_modules\.bin\electron-rebuild --module-dir app/node_modules 269 info install serialport@2.0.2 270 verbose unsafe-perm in lifecycle true 271 info serialport@2.0.2 Failed to exec install script 272 verbose stack Error: serialport@2.0.2 install: `node-pre-gyp install --fallback-to-bui...
261 error command failed 262 error command sh -c ./node_modules/.bin/electron-rebuild 263 verbose exit 255 RafaelReycommentedJul 1, 2021 Same for me, I attached the debug log. System Setup: Ubuntu 20.04 npm: 7.19 node: 12.22.1
Electron-Builder Version: 24.9.1 Node Version: 20.1.0 Electron Version: 28.2.1 Electron Type (current, beta, nightly): current Target: macOS When moving from Yarn 1 to Yarn 3 there is now an issue when rebuilding a module. This issue was...