react-native-windows-samples icon indicating copy to clipboard operation
react-native-windows-samples copied to clipboard

Troubleshooting: Uninstall global copy of react native

Open chrisglein opened this issue 4 years ago • 0 comments

Update the docs to include troubleshooting information as per this thread: https://github.com/microsoft/react-native-windows/issues/4436#issuecomment-614945700

this is caused by a stale version of react-native installed globally on your machine. please uninstall your global copy of react-native. Or update it. npm uninstall -g react-native

Possible symptom:

[email protected] successfully installed. Cannot find module '@react-native-community/cli/build/tools/copyAndReplace' F:\Vs Apps\react_native_windows_todo\node_modules\react-native-windows\local-cli\generator-common\index.js F:\Vs Apps\react_native_windows_todo\node_modules\react-native-windows\local-cli\generator-windows\index.js

chrisglein avatar Apr 17 '20 19:04 chrisglein