hydrogen: Missing @nteract/presentational-components on fresh install
Description
Hydrogen fails after installation due to missing node package @nteract/presentational-components
Steps to Reproduce
- rm -rf ~/.atom
- atom
- install hydrogen (2.12.0)
- 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)
I just found another workaround installing the module myself through npm:
npm install --save @nteract/presentational-componentsand thennpm 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
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 thedependenciessection. Also runningapm installgave my errors withhuskybut 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/markdownfrom version4.0.0to something greater.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
Cool! Worked for me either! Thanks!
Ran the
npm install --save @nteract/presentational-componentscommand in .atom/packages/Hydrogen and the issue was resolved.Thanks @atteggiani !