Closed NickIliev closed 4 years ago
Removed the connectycube plugin and it went through though another error came,
[19-10-11 18:40:37.664] (CLI) Exception in thread "main" java.lang.RuntimeException: Class not found com.telerik.android.data.ListViewGroupFunction at org.nativescript.staticbindinggenerator.Generator.getClass(Generator.java:549) [19-10-11 18:40:37.668] (CLI) at org.nativescript.staticbindinggenerator.Generator.getInterfacesFromCache(Generator.java:532) at org.nativescript.staticbindinggenerator.Generator.writeBinding(Generator.java:283) at org.nativescript.staticbindinggenerator.Generator.generateBinding(Generator.java:171) at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:234) at org.nativescript.staticbindinggenerator.Generator.generateBindings(Generator.java:121) at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:97) at org.nativescript.staticbindinggenerator.Main.main(Main.java:53) [19-10-11 18:40:37.775] (CLI) FAILURE: Build failed with an exception. [19-10-11 18:40:37.779] (CLI) * What went wrong: Execution failed for task ':app:runSbg'.
Process 'command 'C:\Program Files\Java\jdk1.8.0_162\bin\java.exe'' finished with non-zero exit value 1
- 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 [19-10-11 18:40:37.787] (CLI) https://help.gradle.org BUILD FAILED in 1m 14s [19-10-11 18:40:38.079] Build failed. Command gradlew.bat failed with exit code 1
Hey @Efrenray,
WARNING in ../node_modules/encoding/lib/iconv-loader.js 9:12-34 Critical dependency: the request of a dependency is an expression @ ../node_modules/encoding/lib/encoding.js @ ../node_modules/node-fetch/lib/body.js @ ../node_modules/node-fetch/index.js @ ../node_modules/connectycube/src/cubeDependencies.js @ ../node_modules/connectycube/src/videocalling/cubeRTCPeerConnection.js @ ../node_modules/connectycube/src/videocalling/cubeWebRTCClient.js @ ../node_modules/connectycube/src/cubeMain.js @ ./app.js
It is just a warning from webpack
due to this dynamic import. It shouldn't cause issues if the dynamically required file is included inside bundle/vendor.js
. If it is not included, you can hack it by adding require("iconv")
somewhere in your application. That way, the dynamically loaded file will be gathered by webpack compilation.
[19-10-11 18:40:37.664] (CLI) Exception in thread "main" java.lang.RuntimeException: Class not found com.telerik.android.data.ListViewGroupFunction at org.nativescript.staticbindinggenerator.Generator.getClass(Generator.java:549) [19-10-11 18:40:37.668] (CLI) at org.nativescript.staticbindinggenerator.Generator.getInterfacesFromCache(Generator.java:532) at org.nativescript.staticbindinggenerator.Generator.writeBinding(Generator.java:283) at org.nativescript.staticbindinggenerator.Generator.generateBinding(Generator.java:171) at org.nativescript.staticbindinggenerator.Generator.processRows(Generator.java:234) at org.nativescript.staticbindinggenerator.Generator.generateBindings(Generator.java:121) at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:97) at org.nativescript.staticbindinggenerator.Main.main(Main.java:53) [19-10-11 18:40:37.775] (CLI) FAILURE: Build failed with an exception. [19-10-11 18:40:37.779] (CLI) * What went wrong: Execution failed for task ':app:runSbg'.
Regarding to your second error, can you try to delete the platforms
directory and try again.
Closing due to inactivity.
@Efrenray commented on Wed Oct 09 2019
I've migrated my app to NS6 though the app still uses some deprecated plugins such that I encountered these errors.
Dependencies versions: NodeJS: 10.16.0, npm: 6.9.0, NativeScript CLI: 6.1.2.