question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

atom "Failed to activate the Hydrogen package"

See original GitHub issue

I installed hydrogen this morning and am now so mad It won’t let me use it. It seems this error(or something similar) was already reported and fixed. I tried to follow that, but it still failed. Here’s my error log by the way:

` Atom: 1.47.0 x64 Electron: 5.0.13 OS: Microsoft Windows 10 Home Thrown From: Hydrogen package 2.14.1

Stack Trace

Failed to activate the Hydrogen package

At Cannot find module 'C:\Users\Shravan Mandava MBY\.atom\packages\Hydrogen\node_modules\@nteract\mathjax\lib\index.js'. Please verify that the package.json has a valid "main" entry

Error: Cannot find module 'C:\Users\Shravan Mandava MBY\.atom\packages\Hydrogen\node_modules\@nteract\mathjax\lib\index.js'. Please verify that the package.json has a valid "main" entry
    at tryPackage (internal/modules/cjs/loader.js:240:19)
    at Function.Module._findPath (internal/modules/cjs/loader.js:378:18)
    at Module._resolveFilename (internal/modules/cjs/loader.js:670:27)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.47.0/resources/electron.asar/common/reset-search-paths.js:43:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:155434)
    at Module.require (/app.asar/static/index.js:61:43)
    at require (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/markdown-render.js:13:30)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/markdown-render.js:30:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/index.js:6:43)
    at /packages/Hydrogen/node_modules/@nteract/markdown/lib/index.js:11:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:146766)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:13:36)
    at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:27:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:147450)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.47.0/resources/app/static/<embedded>:11:150998)
    at Module.load (internal/modules/cjs/loader.js:701:32)

Commands

     -0:12.2.0 hydrogen:run (span.syntax--entity.syntax--name.syntax--function)

Non-Core Packages

file-icons 2.1.41 
gently-syntax 0.2.1 
Hydrogen 2.14.1 
open_in_cmd 0.6.1 
script 3.26.0 
teletype 0.13.4 

` Please Help

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13

github_iconTop GitHub Comments

7reactions
ozikacommented, May 29, 2020

can you point me to the other 4 issues?

3reactions
cryobiochemcommented, Oct 9, 2020

Hey guys, I have a fix: Go to Atom package installer and search for “lodash-snippets”: https://atom.io/packages/lodash-snippets Install, restart Atom, and Hydrogen should work again.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Failed to activate the Hydrogen package · Issue #2152 - GitHub
Same here, it happened immediately after updating to atom 1.63.0 so the update is most likely responsible for breaking things. Atom : 1.63.0...
Read more >
Troubleshooting Guide · Hydrogen - nteract
Open the Settings tab by pressing ( ctrl-, ), select the Hydrogen package ( Packages --> Hydrogen ), and tick Enable Debug Messages...
Read more >
Problem to configure Hydrogen package in Atom editor
when i try to run the code in atom, it returns me the following error: (1)No Kernel installed (2)No kernel for grammar Python...
Read more >
How to Setup Atom Editor with all the required Packages?
Step 2: Run the .exe package and Atom get easily installed by itself on ... scroll down and enable the checkbox for “Lint...
Read more >
Atom nteract Hydrogen Package - Stefano Balietti
The package Hydrogen let's you run JavaScript interactively directly in Atom ... If npm install -g fails because of permission rights, install ijavascript ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found