react-strict-dom icon indicating copy to clipboard operation
react-strict-dom copied to clipboard

Cannot run example project on Android emulator

Open dlpmmk opened this issue 2 years ago • 3 comments

Describe the issue

I cloned the project normally, then installed the dependencies, and configured the Android development tools accordingly. Then run yarn dev:android. At this time, a simulated mobile phone will be automatically started, and then the following error will be reported.

Expected behavior

Logs for your project will appear below. Press Ctrl+C to exit.
Android Bundling failed 6179ms (src/index.js)
Unable to resolve "react-strict-dom" from "src/App.js"

Steps to reproduce

  1. run yarn dev:android

Test case

No response

Additional comments

No response

dlpmmk avatar Feb 29 '24 04:02 dlpmmk

now, I run command yarn add react-strict-dom in the examples folder and it can run. sorry

dlpmmk avatar Feb 29 '24 06:02 dlpmmk

add the react-strict-dom package in examples path

dlpmmk avatar Feb 29 '24 06:02 dlpmmk

FWIW, per the contributing guidelines, the repo uses npm not yarn https://github.com/facebook/react-strict-dom/blob/main/CONTRIBUTING.md

necolas avatar Feb 29 '24 19:02 necolas