react native version 63.4
node version 14.17.5
Error: Unable to resolve module util from D:\Repos\Socket\node_modules\bson\dist\bson.browser.umd.js:
util could not be found within the project.
If you are sure the module exists, try these steps:
- Clear watchman watches: watchman watch-del-all
- Delete node_modules and run yarn install
- Reset Metro's cache: yarn start --reset-cache
- Remove the cache: rm -rf /tmp/metro-*
var customInspectSymbol = typeof Symbol === 'function' && typeof Symbol['for'] === 'function' ? // eslint-disable-line dot-notation Symbol'for' // eslint-disable-line dot-notation ^ : null;
I installed new version of the npm and after run npx react-native run-andorid
getting this issue.