Browse Source

Add addtional common problem for cache reset (#3809)

When fresh installing `v2` branch some time getting issues with bundling. Due to `rn-packager` cache. Normal `npm start -- --reset-cache` was not working properly. So had to reset the cache manually. Maybe its because of the start script is different from regular react native app setup
Rizwan Mohamed Ibrahim 5 years ago
parent
commit
6e8495015b
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      docs/docs/WorkingLocally.md

+ 4
- 0
docs/docs/WorkingLocally.md View File

@@ -80,4 +80,8 @@ No PR will be accepted without adequate test coverage.
80 80
 	```
81 81
 		
82 82
 	You probably have an old node version which doesn't support async functions. Update your nodejs to 8+.
83
+* If the bundling fails with an error like `bundling failed: ambiguous resolution`, reset the `rn-packager` cache manually.
84
+	```
85
+	node ./node_modules/react-native/local-cli/cli.js start --reset-cache
86
+	```
83 87