Open humanplayer2 opened 1 year ago
I answered you on Reddit, but for posterity, the fix is this:
cd ~/.pulsar/packages/hydrogen # or the equivalent on windows
npx electron-rebuild -v 12.2.3
Then relaunch Pulsar or run Window: Reload.
If this fixes it for you, let me know, and we can close this bug.
Thank you! Issue solved -- Pulsar conversion achieved!
On Pop!_OS 22.04, the full list of things I did was:
sudo apt install nodejs npm
sudo npm install --global npm
cd $HOME/.pulsar/packages/hydrogen-2.16.5/
npx electron-rebuild -v 12.2.3
In case this is of any importance, I had the same issue on Windows and this solved the problem there too!
Technically, this is still a bug - Pulsar should be able to do these steps for you.
I'm going to reopen this, until we 100% fix it one could use this workaround
Technically, this is still a bug - Pulsar should be able to do these steps for you.
Yeah, that's fair. After this discussion I wondered why this wasn't happening automatically, because surely any native module would need to be compiled for the given platform and Electron version if a package author added it as a dependency. But I don't know anything about the machinery of how that happens.
I answered you on Reddit, but for posterity, the fix is this:
cd ~/.pulsar/packages/hydrogen # or the equivalent on windows npx electron-rebuild -v 12.2.3
Then relaunch Pulsar or run Window: Reload.
If this fixes it for you, let me know, and we can close this bug.
i love you long time.
I have been sitting here using atom + hydrogen past the sunset, waiting and hoping for something like this to come along. You guys are the reason why open source is awesome.
I answered you on Reddit, but for posterity, the fix is this:
cd ~/.pulsar/packages/hydrogen # or the equivalent on windows npx electron-rebuild -v 12.2.3
Then relaunch Pulsar or run Window: Reload.
If this fixes it for you, let me know, and we can close this bug.
this worked today on OSX 13.3.1 also resolving this issue for me: https://github.com/Spiker985/x-terminal-reloaded/issues/27
Thank you so much
Wondering if I can get some input. When I execute:
cd ~/.pulsar/packages/hydrogen
npx electron-rebuild -v 12.2.3
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
Anyone knows how to continue?
I'd follow the directions and run
DEBUG=electron-rebuild npx electron-rebuild -v 12.2.3
and see if it produces any useful output.
Thanks. I haven't been able to resolve this yet. Any ideas are welcome:
>>> sudo DEBUG=electron-rebuild npx electron-rebuild -v 12.2.3
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 (/root/.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 (/root/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/module-rebuilder.js:98:9)
at async ModuleRebuilder.rebuild (/root/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/module-rebuilder.js:128:14)
at async Rebuilder.rebuildModuleAt (/root/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/rebuild.js:149:13)
at async Rebuilder.rebuild (/root/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/rebuild.js:112:17)
at async /root/.npm/_npx/c78fbb4f3949be78/node_modules/electron-rebuild/lib/src/cli.js:158:9
Finally got Hydrogen to install on Pulsar 1.112.1 in my Linux machine after more than a year stuck on Atom :sob: In my case, I had to cd ~/.pulsar/packages/Hydrogen/
(with a capital H), and then run the electron-rebuild command. This blog post has step by step instructions - https://pipegalera.com/posts/pulsar-hydrogen which might be clearer to follow.
Thanks in advance for your bug report!
What happened?
Hydrogen package fails to activate with the following error:
Pulsar version
1.101.0-beta
Which OS does this happen on?
🐧 Debian based (Linux Mint, Ubuntu, etc.)
OS details
Pop!_OS 22.04
Which CPU architecture are you running this on?
None
What steps are needed to reproduce this?
pulsar -p install https://github.com/nteract/hydrogen/ -b v2.16.5
pulsar -p rebuild
Additional Information:
I have Hydrogen working in Atom. It requires
ipykernel
: