Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
370 views
in Technique[技术] by (71.8m points)

javascript - Error generate apk React-Native after run ./gradlew bundleRelease (A problem occurred evaluating script.)

Screenshot of my error in Git Bash

:ReactNative:Unexpected empty result of running '[node, C:Users??? eact_nativeAwesomeProject ode_modules eact-native [email protected], config]' command. :ReactNative:Running '[node, C:Users??? eact_nativeAwesomeProject ode_modules eact-native [email protected], config]' command failed.

FAILURE: Build failed with an exception.

  • Where: Script 'C:Users??? eact_nativeAwesomeProject ode_modules@react-native-communitycli-platform-android ative_modules.gradle' line: 195

  • What went wrong: A problem occurred evaluating script.

internal/modules/cjs/loader.js:834 throw err; ^Error: Cannot find module 'C:Users??????¨ eact_nativeAwesomeProject ode_modules eact-native [email protected]' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15) at Function.Module._load (internal/modules/cjs/loader.js:687:27) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) at internal/main/run_main_module.js:17:47 { code: 'MODULE_NOT_FOUND', requireStack: []}

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7s

I made all the steps from https://reactnative.dev/docs/signed-apk-android for generate apk my app.

Any ideas to solve it?

question from:https://stackoverflow.com/questions/65835715/error-generate-apk-react-native-after-run-gradlew-bundlerelease-a-problem-occ

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...