rebuild
rebuild copied to clipboard
Package to rebuild native Node.js modules against the currently installed Electron version
OS: Windows 11 electron: 19.0.6 canvas: 2.11.0 ``` Canvas.obj : error LNK2019: ????????? "__declspec(dllimport) public: class std::shared_ptr __cd ecl v8::ArrayBuffer::GetBackingStore(void)" (__imp_?GetBackingStore@ArrayBuffer@v8@@QEAA?AV?$shared_ptr@VBackingStore@v 8@@@std@@XZ),?? "void __cdecl parsePNGArgs(class v8::Local,struct PngClosure &)" (?parsePNGArgs@@YAXV? $Local@VValue@v8@@@v8@@AEAUPngClosure@@@Z)...
I took a shot at upgrading `node-gyp` to `^10.0.0`, because electron-rebuild does not work with python `3.12.x` as mentioned in https://github.com/electron/rebuild/issues/1116. This change is non-breaking and backwards-compatible with python `3.11.x`...
[distutils has been removed in Python v3.12](https://docs.python.org/3/whatsnew/3.12.html#summary-release-highlights). we need to upgrade version of node-gyp (to v10+) ``` › Traceback (most recent call last): File "xxxxx\node_modules\@electron\rebuild\node_modules\node-gyp\gyp\gyp_main.py", line 42, in import gyp...
Hello, I'm trying to use audify (https://github.com/almoghamdani/audify) in an electron app with electron-forge. When the electron-rebuild step runs it tries to rebuild audify build fails with the error at the...
## Environment details - OS: windows - OS version: 11 - node-pty version: 0.10.1 - electron: 20.1.4 - xterm: 4.2.0 - electron-rebuild: 3.2.9 ## Issue description Tried building from the...
Great! Including a demo project to reproduce the bug is an excellent way to provide additional context and aid in troubleshooting. Here's a revised version of your GitHub issue incorporating...
Installing the package gives the following warning: ``` npm install --save-dev @electron/rebuild npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs ``` The installed versions are: - "@electron/rebuild":...
When I call, it does not rebuild my native package ```jsx yarn electron-rebuild ``` However, when I rebuild like this ```shell cd node_modules/@woovi/node-printer ../../.bin/electron-rebuild ```
Hi, I have a native module with a couple hundred c++ files. Electron-rebuild does have a "parallel" option but this doesn't actually run make in parallel WITHIN one module. This...
For some reason TypeScript is AOK with stuffing `Set` objects with random keys. This is problematic as this is not how `Set` are supposed to be used (like a plain...