Wednesday, October 16, 2019

node_modules\@react-native-community\cli-platform-android\native_modules.gradle' line: 169



:ReactNative:Cannot run program "npx": CreateProcess error=2, ═х єфрхЄё  эрщЄш єърчрээ√щ Їрщы
:ReactNative:Automatic import of native modules failed.

FAILURE: Build failed with an exception.
* Where:
* Where:
Script 'C:\Users\sapan\Desktop\React Native\myapp\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' line: 169

* What went wrong:
A problem occurred evaluating script.
> Cannot invoke method getErrorStream() on null object




Solutions
Go to -->
node_modules\@react-native-community\cli-platform-android\native_modules.gradle

"npx --quiet react-native config" to "npx.cmd --quiet react-native config" 

















No comments:

Post a Comment