Uncaught Error: Cannot find module '$ATOM_HOME/packages/Hydrogen/node_modules/ansi-to-react/lib/i...
See original GitHub issue[Enter steps to reproduce:]
- Running macOS Catalina 10.15.5
- removed atom and all associated files to do a clean install
- installed atom
- attempted to install Hydrogen
Atom: 1.47.0 x64 Electron: 5.0.13 OS: Mac OS X 10.15.5 Thrown From: Hydrogen package 2.14.1
Stack Trace
Uncaught Error: Cannot find module ‘/Users/hpm/.atom/packages/Hydrogen/node_modules/ansi-to-react/lib/index.js’. Please verify that the package.json has a valid “main” entry
At internal/modules/cjs/loader.js:248
Error: Cannot find module '/Users/hpm/.atom/packages/Hydrogen/node_modules/ansi-to-react/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 (/Applications/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:43:12)
at Function.get_Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:155434)
at Module.require (/app.asar/static/index.js:61:43)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/kernel-output-error.js:13:41)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/kernel-output-error.js:44:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/index.js:14:29)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/index.js:27:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
at Object.value [as .js] (/Applications/Atom.app/Contents/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 (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146766)
at /packages/Hydrogen/lib/components/result-view/display.js:5:38)
at /packages/Hydrogen/lib/components/result-view/display.js:82:23)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147450)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:150998)
at Module.load (internal/modules/cjs/loader.js:701:32)
Commands
Non-Core Packages
Hydrogen 2.14.1
Issue Analytics
- State:
- Created 3 years ago
- Comments:10
Top Results From Across the Web
How do I resolve "Cannot find module" error using Node.js?
Using npm install installs the module into the current directory only (in a subdirectory called node_modules ). Is app.js located under ...
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
The module (package) not found is always specified in the format "Module not found: Error: Can't resolve 'package name' in 'project directory".
Read more >Uncaught Error: Cannot find module "." · Issue #4921 - GitHub
I have no idea what's causing this, but it appears that i get the error when some imports add "/umd" at the end....
Read more >How to resolve "Cannot find module" error in Node - Sabe.io
When you are working in Node, you will sometimes encounter the error Cannot find module 'module-name' with the error code MODULE_NOT_FOUND .
Read more >Fix Global Installs Not Working | "Cannot find module" error FIX
Getting " Cannot find module " after installing something globally (with -g)? Well, this video shows you how to fix global package/module ...
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 FreeTop 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
Top GitHub Comments
If you are having this problem, I managed to get everything to work by reverting to Hydrogen 2.8:
Solution to this problem! Enjoy your Hydrogen! https://github.com/tomato-300yen/ansi_to_react_lib_for_hydrogen