dotNetify-react-native-demo icon indicating copy to clipboard operation
dotNetify-react-native-demo copied to clipboard

Unable to resolve "react-dom" on 3.3.1

Open skyleraustin opened this issue 8 years ago • 2 comments

(re: #7)

I am still getting this error on 3.3.1

Unable to resolve module react-dom from \node_modules\dotnetify\dist\dotnetify-react.js: Module react-dom does not exist in the Haste module map or in these directories:

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 Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.
  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.

I have attempted the applicable suggestions

skyleraustin avatar Nov 29 '18 03:11 skyleraustin

The import name is changed to dotnetify/react-native. I’ve updated the example in the repo.

On Wed, Nov 28, 2018 at 7:08 PM skyleraustin [email protected] wrote:

(re: #7 https://github.com/dsuryd/dotnetify-react-native-demo/issues/7)

I am still getting this error on 3.3.1

Unable to resolve module react-dom from \node_modules\dotnetify\dist\dotnetify-react.js: Module react-dom does not exist in the Haste module map or in these directories:

This might be related to facebook/react-native#4968 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 Metro Bundler cache: rm -rf /tmp/metro-bundler-cache-* or npm start -- --reset-cache.
  4. Remove haste cache: rm -rf /tmp/haste-map-react-native-packager-*.

I have attempted the applicable suggestions

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dsuryd/dotnetify-react-native-demo/issues/11, or mute the thread https://github.com/notifications/unsubscribe-auth/AOS8kutVrqckdOy-HE5Qho2aR3jxb0_oks5uz0-YgaJpZM4Y42X8 .

dsuryd avatar Nov 29 '18 03:11 dsuryd

You sure did. Thanks for the quick response!

skyleraustin avatar Nov 29 '18 03:11 skyleraustin