Hydrogen Installation: Uncaught Error: Cannot find module 'react-hot-loader'
See original GitHub issue[Enter steps to reproduce:]
- Install Atom 64 Bit on Windows 7 Enterprise
- 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:
- Created 5 years ago
- Comments:9 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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.
Thanks all for the reports! Please try installing one more time now that we’ve shipped a fix.
Thanks @lgeiger for the fix!