❌ React-Native-CheatSheet

Brandon S. Ha
Oct 15, 2023

--

1. Watchman error

metro-file-map: Watchman crawl failed. Retrying once with node crawler.
Usually this happens when watchman isn’t running. Create an empty `.watchmanconfig` file in your project’s root folder or initialize a git or hg repository in your project.

$ watchman shutdown-server
$ watchman

Run this in your terminal

2.Invariant Violation

Invariant Violation: View config getter callback for component `circle` must be a function (received `undefined`). Make sure to start component names with a capital letter.

You most likely misspelled or imported the wrong files or libraries.

--

--