Closed piparsforever closed 3 years ago
I have the same issue, having just updated my atom packages last night. I think it's similar to this bug here: https://github.com/nteract/hydrogen/issues/1945#event-3600138748. Previously the ansi_to_react lib for hydrogen wasn't shipped. I notice this time, while I have files, I don't have the "ansi-to-react\lib" folder.
I proceeded to add the missing folder (again), posted for the previous bug found here: https://github.com/tomato-300yen/ansi_to_react_lib_for_hydrogen. This solved my problem, hydrogen is working again.
Hope this helps.
Same Issue :/ thank you https://github.com/nteract/hydrogen/issues/2032#issuecomment-742065098
I have the same issue, having just updated my atom packages last night. I think it's similar to this bug here: #1945 (comment). Previously the ansi_to_react lib for hydrogen wasn't shipped. I notice this time, while I have files, I don't have the "ansi-to-react\lib" folder.
I proceeded to add the missing folder (again), posted for the previous bug found here: https://github.com/tomato-300yen/ansi_to_react_lib_for_hydrogen. This solved my problem, hydrogen is working again.
Hope this helps.
It works now. Thank you!
Works for me, thanks a lot.
Atom is telling me this is the same issue, which is why I am posting this here, though it doesn't seem so to me…
Atom: 1.53.0 x64 Electron: 6.1.12 OS: Mac OS X 10.15.6 Thrown From: Hydrogen package 2.14.6
Failed to activate the Hydrogen package
At The module '/Users/avanavana/.atom/packages/Hydrogen/node_modules/zeromq/build/Release/zmq.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 83. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
Error: The module '/Users/avanavana/.atom/packages/Hydrogen/node_modules/zeromq/build/Release/zmq.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 83. This version of Node.js requires
NODE_MODULE_VERSION 73. Please try re-compiling or re-installing
the module (for instance, using `npm rebuild` or `npm install`).
at process.func (electron/js2c/asar.js:138:31)
at process.func [as dlopen] (electron/js2c/asar.js:138:31)
at Object.Module._extensions..node (internal/modules/cjs/loader.js:828:18)
at Object.func (electron/js2c/asar.js:138:31)
at Object.func [as .node] (electron/js2c/asar.js:138:31)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146814)
at /packages/Hydrogen/node_modules/zeromq/lib/index.js:6:11)
at /packages/Hydrogen/node_modules/zeromq/lib/index.js:857:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147498)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151046)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146814)
at /packages/Hydrogen/node_modules/zeromq/index.js:2:18)
at /packages/Hydrogen/node_modules/zeromq/index.js:3:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147498)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151046)
at Module.load (internal/modules/cjs/loader.js:645:32)
at Function.Module._load (internal/modules/cjs/loader.js:560:12)
at Module.require (/app.asar/static/index.js:72:46)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146814)
at /packages/Hydrogen/node_modules/jmp/index.js:37:11)
at /packages/Hydrogen/node_modules/jmp/index.js:450:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147498)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151046)
at Module.load (internal/modules/cjs/loader.js:645:32)
-1:08.9.0 hydrogen:run (input.hidden-input)
busy-signal 2.0.1
Chromo-Color-Previews 1.8.3
color-picker 2.3.0
Hydrogen 2.14.6
intentions 1.1.5
jekyll 2.1.0
jekyll-syntax-highlighting 0.1.0
language-babel 2.85.0
language-graphql 1.0.0
linter 3.1.1
linter-eslint 8.5.5
linter-ui-default 2.3.4
pigments 0.40.6
platformio-ide-terminal 2.10.1
prettier-atom 0.60.1
process-palette 0.17.0
teletype 0.13.4
termination 0.7.6
zotero-citations 5.2.0
Note: this happened AFTER i tried npm rebuild
in the .atom/packages/Hydrogen
directory. I had previously tried uninstalling/reinstalling, running apm rebuild
, etc to no avail. But I received the exact same error before doing these things as well, the only difference is after running npm rebuild
Atom supplemented the error message with a button that linked here and a button to copy my error text. Initially I could not do either, nor is the message with the "Rebuild Package" button showing up.
I thought this might be happening because I upgraded my node to 14.15, but then I read that atom uses its own version—so I don't know what's going on. Can't seem to fix it.
EDIT: If I do apm rebuild
in the package directory as recommended, nothing happens. If I then do apm install
in the package directory as also recommended, I am back to the original error:
internal/modules/cjs/loader.js:1122 return process.dlopen(module, path.toNamespacedPath(filename)); ^
Error: The module '/usr/local/lib/node_modules/ijavascript/node_modules/zeromq/build/Release/zmq.node'
was compiled against a different Node.js version using NODE_MODULE_VERSION 64. This version of Node.js
requires NODE_MODULE_VERSION 83. Please try re-compiling or re-installing the module (for instance, using
npm rebuild or npm install). at Object.Module._extensions..node (internal/modules/cjs/loader.js:1122:18) at
Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.
(/usr/local/lib/node_modules/ijavascript/node_modules/zeromq/lib/index.js:6:11) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at
Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14)
Hi! Just updated Hydrogen package 2.14.6 Any ides how to solve this?
Atom: 1.53.0 x64 Electron: 6.1.12 OS: macOS 11.0.1 Thrown From: Hydrogen package 2.14.6
Stack Trace
Failed to activate the Hydrogen package
Commands
Non-Core Packages