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.

Unable to resolve module `react-dom`

See original GitHub issue

Hi,

When i try to install react burger menu using “npm install --save react-burger-menu” and try to running the project, i got this error:

error: bundling: UnableToResolveError: Unable to resolve module react-dom from /Users/nana/Project/digital_onboarding/photon_digital_onboarding_widget/node_modules/react-burger-menu/lib/menuFactory.js: Module does not exist in the module map or in these directories: /Users/nana/Project/digital_onboarding/photon_digital_onboarding_widget/node_modules

This might be related to https://github.com/facebook/react-native/issues/4968 To resolve try the following:

  1. Clear watchman watches: watchman watch-del-all.
  2. Delete the node_modules folder: rm -rf node_modules && npm install.
  3. Reset packager cache: rm -fr $TMPDIR/react-* or npm start --reset-cache. at p.catch.error (/Users/nana/Project/digital_onboarding/photon_digital_onboarding_widget/node_modules/react-native/packager/src/node-haste/DependencyGraph/ResolutionRequest.js:366:19) at process._tickCallback (internal/process/next_tick.js:109:7) Bundling webapp/resources/widget/index/overviewIndex.js 99.1% (421/423), failed.

I have tried the three steps and the issued still happen.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
marianaMarshaLcommented, Apr 19, 2017

thanks for your help 😃

0reactions
negomicommented, Apr 19, 2017

Not currently, I’m afraid. It looks like there are a few similar projects for React Native though:

Best of luck!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot resolve module 'react-dom' - Stack Overflow
Issue is react-dom is not installed, when you hit npm -v react-dom , it gives you the version of npm not react-dom version,...
Read more >
"Unable to resolve module `react-dom/server`" · Issue #1 ...
Try npm install react-dom --save or yarn add react-dom . 1
Read more >
module not found error | can not resolve react dom module
Join this channel to get access to perks:https://www.youtube.com/channel/UCoSpmr2KNOxjwE_B9ynUmig/joinMy GearCamera ...
Read more >
[Solved]-Cannot resolve module 'react-dom'-Reactjs
[Solved]-Cannot resolve module 'react-dom'-Reactjs ... Issue is react-dom is not installed, when you hit npm -v react-dom , it gives you the version...
Read more >
cannot find module 'react-dom' - You.com | The AI Search ...
Error: Cannot find module "react-dom" - Stack Overflow ... 2. I think it is related to this issue. react/lib/ReactDOMServer is replaced by react-dom/server....
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