"FAILURE: build failed with an exception" в реакции на новый проект - PullRequest
0 голосов
/ 13 июля 2020

Это мой первый раз, когда я использую react-native

Каждый раз, когда я запускаю «npx response-native run- android», эта проблема возникает: enter image description here

First of all i checked in the android studio if every thing was right. After this i tried to check that "195 line" and everything seemed normal. (and there was no error in the file):

enter image description here

i used that "--stacktrace", "--info" and "--debug" with the npx run, and nothing changed.

everything in my computer it's installed (jdk, python, node, expo-cli, npx, npm, yarn etc):

введите описание изображения здесь

Я сделал все это с открытой android studio и в собственной папке с файлами.

Основная проблема с сообщением в коде:

FAILURE: Build failed with an exception.

* Where:
Script 'D:\programa��o\WorkBench\react native\hunt\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' line: 195

* What went wrong:
A problem occurred evaluating script.
> internal/modules/cjs/loader.js:969  throw err;  ^Error: Cannot find module 'D:\programação\WorkBench\react native\hunt\node_modules\@react-native-community\cli\build\bin.js'    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:966:15)    at Function.Module._load (internal/modules/cjs/loader.js:842:27)    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)    at internal/main/run_main_module.js:17:47 {  code: 'MODULE_NOT_FOUND',  requireStack: []}
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...