Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29498

gradlew assembleRelease it gives the following error in react-native

$
0
0

I want to make apk file of my application code, but whenever I am running gradlew assembleRelease it gives the following error, I just want to create the build with anything, as I have to deliver my project on Monday. Any help will be appreciated

 C:\Users\dines\Documents\ANUJ\managementportal\android>gradlew assembleRelease    :ReactNative:Unexpected empty result of running '[node, undefined, config]' command.    :ReactNative:Running '[node, undefined, config]' command failed.    FAILURE: Build failed with an exception.    * Where:    Script 'C:\Users\dines\Documents\ANUJ\managementportal\node_modules\@react-native-community\cli-platform-android\native_modules.gradle' line: 170    * What went wrong:    A problem occurred evaluating script.> internal/modules/cjs/loader.js:584    throw err;    ^Error: Cannot find module 'C:\Users\dines\Documents\ANUJ\managementportal\android\undefined'    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)    at Function.Module._load (internal/modules/cjs/loader.js:508:25)    at Function.Module.runMain (internal/modules/cjs/loader.js:754:12)    at startup (internal/bootstrap/node.js:283:19)    at bootstrapNodeJSCore (internal/bootstrap/node.js:622:3)    * 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 2s    C:\Users\dines\Documents\ANUJ\managementportal\android>

Viewing all articles
Browse latest Browse all 29498

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>