Uncaught Error: Cannot find module '$ATOM_HOME/packages/Hydrogen/node_modules/@nteract/markdown/l...
See original GitHub issue[Enter steps to reproduce:]
- Updated Hydrogen to 2.14.3. Received this error.
- Uninstalled and reinstalled Hydrogen. Same issue.
- Went to ‘/Users/Dmtearpak/.atom/packages/Hydrogen/node_modules/@nteract/markdown/lib/index.js’ as guided from the error flag. There was know ‘lib’ folder, therefore no index.js file.
Atom: 1.48.0 x64 Electron: 5.0.13 OS: Mac OS X 10.15.5 Thrown From: Hydrogen package 2.14.3
Stack Trace
Uncaught Error: Cannot find module ‘/Users/Dmtearpak/.atom/packages/Hydrogen/node_modules/@nteract/markdown/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/Dmtearpak/.atom/packages/Hydrogen/node_modules/@nteract/markdown/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:155487)
at Module.require (/app.asar/static/index.js:61:43)
at require (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:146819)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:13:36)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/markdown.js:27:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147503)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151051)
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:146819)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/index.js:11:18)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/components/media/index.js:20:3)
at Module.get_Module._compile (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:147503)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151051)
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:146819)
at /packages/Hydrogen/node_modules/@nteract/outputs/lib/index.js:24:28)
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:147503)
at Object.value [as .js] (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:151051)
at Module.load (internal/modules/cjs/loader.js:701:32)
Commands
-4:15.3.0 hydrogen:run (input.hidden-input)
Non-Core Packages
atom-material-syntax 1.0.8
atom-material-ui 2.1.3
autocomplete-python 1.16.0
dark-python-syntax 2.3.0
file-icons 2.1.41
Hydrogen 2.14.3
minimap 4.29.9
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (1 by maintainers)
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 >[Solution] Error: Cannot Find Module "nodemailer" - Courier
This error occurs when you have not installed the nodemailer library in your Node.js application. Solution - Here's How To Resolve It. First,...
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 >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
try the latest
@aviatesk Thank you, it is working perfectly now.