Title: app build inside child_process fails · Issue #46 · NativeScript/worker-loader · GitHub
Open Graph Title: app build inside child_process fails · Issue #46 · NativeScript/worker-loader
X Title: app build inside child_process fails · Issue #46 · NativeScript/worker-loader
Description: I tried to automate the build process and run the command with a child_process. I tried the exec and spawn methods, but get always the same error: Please change the name of one of the extended classes. File:
Open Graph Description: I tried to automate the build process and run the command with a child_process. I tried the exec and spawn methods, but get always the same error: Please change the name of one of the extended clas...
X Description: I tried to automate the build process and run the command with a child_process. I tried the exec and spawn methods, but get always the same error: Please change the name of one of the extended clas...
Opengraph URL: https://github.com/NativeScript/worker-loader/issues/46
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"app build inside child_process fails","articleBody":"I tried to automate the build process and run the command with a `child_process`.\r\nI tried the `exec` and `spawn` methods, but get always the same error:\r\n\r\n```\r\nPlease change the name of one of the extended classes.\r\nFile:\u003cAPPROOT>\\platforms\\android\\app\\src\\main\\java\\com\\tns\\FragmentClass.java Class: com.tns.FragmentClass\r\n at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:112)\r\n at org.nativescript.staticbindinggenerator.Main.main(Main.java:53)\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* What went wrong:\r\nExecution failed for task ':app:runSbg'.\r\n> Process 'command 'C:\\Program Files\\AdoptOpenJDK\\jdk8u192-b12\\bin\\java.exe'' finished with non-zero exit value 1\r\n\r\n* Try:\r\nRun 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.\r\n\r\n* Get more help at https://help.gradle.org\r\n\r\nBUILD FAILED in 43s\r\nCommand gradlew.bat failed with exit code 1\r\n```\r\n\r\nwhen I remove the workers it builds correctly. is there maby an [option ](https://nodejs.org/dist/latest-v12.x/docs/api/child_process.html#child_process_child_process_spawn_command_args_options)to get it work, or is it a bug?","author":{"url":"https://github.com/wendt88","@type":"Person","name":"wendt88"},"datePublished":"2019-10-11T13:34:15Z","url":"https://github.com/NativeScript/worker-loader/issues/46"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:41ad3d62-0b3a-3a00-ad20-ea807eadf4bb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8DA:1F2D:104A0CA:149331E:6B014A53 |
| html-safe-nonce | 980ad773a2ca511bd7b3d9513c0db6d2da75301ad17ee5c338b4448bd8ddeb84 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOERBOjFGMkQ6MTA0QTBDQToxNDkzMzFFOjZCMDE0QTUzIiwidmlzaXRvcl9pZCI6IjIwMzU1Njc1NTIzNjQ2Mjg1NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3e938f363fb0ed668bae4a7daba53f60693925740d9d5d7be6a7817ce35f6386 |
| hovercard-subject-tag | issue:505856499 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/NativeScript/worker-loader/46/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e89594726e7ee173c2c13399e6b14dfddf9e7bf69a3a7d4f6185cac5b558fc7/NativeScript/worker-loader/issues/46 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e89594726e7ee173c2c13399e6b14dfddf9e7bf69a3a7d4f6185cac5b558fc7/NativeScript/worker-loader/issues/46 |
| og:image:alt | I tried to automate the build process and run the command with a child_process. I tried the exec and spawn methods, but get always the same error: Please change the name of one of the extended clas... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wendt88 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/worker-loader git https://github.com/NativeScript/worker-loader.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 99676258 |
| octolytics-dimension-repository_nwo | NativeScript/worker-loader |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 99676258 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/worker-loader |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width