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.

Hydrogen Installation: Uncaught Error: Cannot find module 'react-hot-loader'

See original GitHub issue

[Enter steps to reproduce:]

  1. Install Atom 64 Bit on Windows 7 Enterprise
  2. Go to Atom package installer, search for and select Hydrogen, press install.

Atom: 1.27.2 x64 Electron: 1.7.15 OS: Microsoft Windows 7 Enterprise Thrown From: Hydrogen package 2.5.0

Stack Trace

Uncaught Error: Cannot find module ‘react-hot-loader’

At module.js:472

Error: Cannot find module 'react-hot-loader'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.27.2/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (~/AppData/Local/atom/app-1.27.2/resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (~/AppData/Local/atom/app-1.27.2/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/node_modules/@nteract/transform-vdom/lib/object-to-react.js:13:21
    at /packages/Hydrogen/node_modules/@nteract/transform-vdom/lib/object-to-react.js:16:3)
    at /packages/Hydrogen/node_modules/@nteract/transform-vdom/lib/object-to-react.js:163:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.27.2/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.27.2/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.27.2/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/node_modules/@nteract/transform-vdom/lib/index.js:14:22)
    at /packages/Hydrogen/node_modules/@nteract/transform-vdom/lib/index.js:114:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.27.2/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.27.2/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (/app.asar/static/index.js:47:45)
    at require (~/AppData/Local/atom/app-1.27.2/resources/app/src/native-compile-cache.js:66:33)
    at /packages/Hydrogen/node_modules/@nteract/transforms/lib/index.js:43:22)
    at /packages/Hydrogen/node_modules/@nteract/transforms/lib/index.js:110:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.27.2/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.27.2/resources/app/src/compile-cache.js:240:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)

Commands

     -5:05.0 core:confirm (input.hidden-input)

Non-Core Packages

Hydrogen 2.5.0 

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
BenRussertcommented, Jun 15, 2018

@cdrappi I would delete the hydrogen folder completely and run apm install hydrogen

These types of errors are often caused by left over files when an install is interrupted and cleaning up the directory can oftentimes solve it.

I’d really avoid trying the manual install because you can potentially cause new problems and if you do fix it it will break next time you update.

0reactions
BenRussertcommented, Jun 16, 2018

Thanks all for the reports! Please try installing one more time now that we’ve shipped a fix.

Thanks @lgeiger for the fix!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Cannot find module 'react-hot-loader/babel' from '/home ...
I fixed this issue by just npm install react-hot-loader --save-dev.
Read more >
Compare Packages Between Distributions - DistroWatch.com
In this way we can not only compare two competing projects, but also track the progress of distributions as they adopt newer versions...
Read more >
npm react-hot-loader - Code Examples & Solutions For This ...
npm install react-hot-loader.
Read more >
Service Robots in the Healthcare Sector - MDPI
This paper presents a review on service robots used in the healthcare sector, specifically focusing on those that can provide benefits to patients,...
Read more >
Available CRAN Packages By Date of Publication
2022-12-16, bmem, Mediation Analysis with Missing Data Using Bootstrap ... 2022-12-09, requiRements, Helper Package to Install Packages for R.
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