zeromq.js icon indicating copy to clipboard operation
zeromq.js copied to clipboard

Rebuilding zeromq fails

Open ReneTC opened this issue 1 year ago • 0 comments

I'm not sure if I am in the right place, but I'm getting desperate :D

I'm trying to install the Package Hydrogen on the editor Pulsar. After installing Hydrogen, you must rebuild zeromq:

cd ~/.pulsar/packages/hydrogen  
npx electron-rebuild -v 12.2.3

This works on my home machine running Ubuntu. But at my work machine running Fedora it doesn't. Also my work machine is a bit restricted with internet.

When I execute the code above I get:

An unhandled error occurred inside electron-rebuild
node-gyp failed to rebuild '/user/reth/.pulsar/packages/Hydrogen/node_modules/zeromq'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".

Error: `make` failed with exit code: 2



Error: node-gyp failed to rebuild '/user/reth/.pulsar/packages/Hydrogen/node_modules/zeromq'.
For more information, rerun with the DEBUG environment variable set to "electron-rebuild".

Error: `make` failed with exit code: 2


    at NodeGyp.rebuildModule (/user/reth/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/module-type/node-gyp.js:120:19)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ModuleRebuilder.rebuildNodeGypModule (/user/reth/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/module-rebuilder.js:98:9)
    at async ModuleRebuilder.rebuild (/user/reth/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/module-rebuilder.js:128:14)
    at async Rebuilder.rebuildModuleAt (/user/reth/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/rebuild.js:149:13)
    at async Rebuilder.rebuild (/user/reth/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/rebuild.js:112:17)
    at async /user/reth/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/cli.js:158:9

Any ideas?

ReneTC avatar Jun 02 '23 06:06 ReneTC