hydrogen: Missing @nteract/presentational-components on fresh install

Description

Hydrogen fails after installation due to missing node package @nteract/presentational-components

Steps to Reproduce

  1. rm -rf ~/.atom
  2. atom
  3. install hydrogen (2.12.0)
  4. try to start a kernel

Versions

Hydrogen version: 2.12.0

Expected behavior

Expected to start Hydrogen.

Workaround:

add "@nteract/presentational-components":"^3.0.6", to .atom/packages/Hydrogen/package.json in the dependencies section and run cd .atom/packages/Hydrogen && apm install

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 18
  • Comments: 23 (8 by maintainers)

Most upvoted comments

I just found another workaround installing the module myself through npm: npm install --save @nteract/presentational-components and then npm install react@16.3.2 (cause I didn’t have it)

Is it alright or it can cause some problems doing it this way?


Edit from @wadethestealth: I don’t recommend this solution to users, but rather the solution in the first post. Reason being is it can cause complications for people unfamiliar with npm.

@rastafrange

Workaround:

add "@nteract/presentational-components":"^3.0.6", to .atom/packages/Hydrogen/package.json in the dependencies section and run cd .atom/packages/Hydrogen && apm install

You should see other similar entries of other nteract libraries under the dependencies section of package.json

Make sure you put "@nteract/presentational-components": "^3.0.6", in the dependencies section. Also running apm install gave my errors with husky but still seemed to fix issue.

@sseyler the issue you are seeing now is #1804, which ironically is another unchecked pr for this package. Sorry for your troubles once #1804 is solved though you will likely be able to use hydrogen with no further issues.

This should be officially fixed by now. If you see this issue, please upgrade @nteract/markdown from version 4.0.0 to something greater.

There is a section titled dependencies, you should see lines very similar to what you need to add @kettlecorner

Thank you! Ran apm install on conda prompt in the Hydrogen folder and opening atom doesn’t throw an error anymore!

There is a section titled dependencies, you should see lines very similar to what you need to add @kettlecorner

Ran the npm install --save @nteract/presentational-components command in .atom/packages/Hydrogen and the issue was resolved.

Thanks @atteggiani !

Cool! Worked for me either! Thanks!

Ran the npm install --save @nteract/presentational-components command in .atom/packages/Hydrogen and the issue was resolved.

Thanks @atteggiani !