Title: [4.0] Webpack build fails (workers, snapshot) · Issue #898 · NativeScript/android · GitHub
Open Graph Title: [4.0] Webpack build fails (workers, snapshot) · Issue #898 · NativeScript/android
X Title: [4.0] Webpack build fails (workers, snapshot) · Issue #898 · NativeScript/android
Description: Please, provide the details below: Did you verify this is a real problem by searching [Stack Overflow] Yes. Tell us about the problem Webpack build fails with 4.0 android template. Please provide the following version numbers that your i...
Open Graph Description: Please, provide the details below: Did you verify this is a real problem by searching [Stack Overflow] Yes. Tell us about the problem Webpack build fails with 4.0 android template. Please provide t...
X Description: Please, provide the details below: Did you verify this is a real problem by searching [Stack Overflow] Yes. Tell us about the problem Webpack build fails with 4.0 android template. Please provide t...
Opengraph URL: https://github.com/NativeScript/android/issues/898
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[4.0] Webpack build fails (workers, snapshot)","articleBody":"## Please, provide the details below:\r\n\r\n### Did you verify this is a real problem by searching [Stack Overflow]\r\nYes.\r\n\r\n### Tell us about the problem\r\nWebpack build fails with 4.0 android template.\r\n\r\n### Please provide the following version numbers that your issue occurs with:\r\nCLI - 3.4.0-2017-12-13-10257\r\n\r\npackage.json: https://github.com/NativeScript/worker-loader/commit/a8e84678de571ecc053b35fd77e398d3bed4aa47#diff-e0f1dea78433d4d53a86ef66e130cb45\r\n\r\n```\r\n\"tns-android\": {\r\n \"version\": \"3.4.0-2017-12-19-02\"\r\n }\r\n```\r\n\r\n### Did the error happen while the app was being constructed? (buildtime error)\r\n```\r\nGradle build...\r\n + applying user-defined configuration from /Users/vchimev/Work/git/worker-loader/demo-angular/app/App_Resources/Android/app.gradle\r\n + adding nativescript runtime package dependency: nativescript-optimized\r\n + adding aar plugin dependency: /Users/vchimev/Work/git/worker-loader/demo-angular/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar\r\nWarning: there already is an extend called com.tns.FragmentClass.\r\nWarning: The static binding generator will generate extend from:144effebc9eeeb3fc9ac.worker.js implementation\r\nWarning: there already is an extend called com.tns.FragmentClass.\r\nWarning: The static binding generator will generate extend from:_embedded_script_.js implementation\r\nException in thread \"main\" java.io.IOException: File already exists. This may lead to undesired behavior.\r\nPlease change the name of one of the extended classes.\r\nFile:/Users/vchimev/Work/git/worker-loader/demo-angular/platforms/android/app/src/main/java/com/tns/FragmentClass.java Class: com.tns.FragmentClass\r\n at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:64)\r\n at org.nativescript.staticbindinggenerator.Main.main(Main.java:46)\r\n\r\nFAILURE: Build failed with an exception.\r\n```\r\n\r\n### Did the error happen while the app was executing? (runtime error)\r\nNo.\r\n\r\n### Please tell us how to recreate the issue in as much detail as possible.\r\n\r\n```\r\ntns build android --bundle --env.aot --env.uglify --env.snapshot --release ...\r\n```\r\n\r\nhttps://github.com/NativeScript/worker-loader/commits/vchimev/angular5-webpack\r\n\r\n","author":{"url":"https://github.com/vchimev","@type":"Person","name":"vchimev"},"datePublished":"2017-12-19T14:51:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/898/android/issues/898"}
| 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:b706fb72-f89f-ced3-bf62-cf7b7fc988b0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 875A:315C2A:3BAFB19:5308E23:6A634BE8 |
| html-safe-nonce | d23ec6434f034798b4a917bce0ff49d4226dc3543ba50629985b926dda105b29 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzVBOjMxNUMyQTozQkFGQjE5OjUzMDhFMjM6NkE2MzRCRTgiLCJ2aXNpdG9yX2lkIjoiOTA2NDI2MjMyNTE2NDUyNjU2OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 58ebf4c06761c963859dae15617cc948734eafca4064e5276dc68cb7dc5efa4a |
| hovercard-subject-tag | issue:283257159 |
| 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/android/898/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa6199ebfe08eb61eea4253918b09b0d1f4670ff5046f5685a3eecd0bfde0984/NativeScript/android/issues/898 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa6199ebfe08eb61eea4253918b09b0d1f4670ff5046f5685a3eecd0bfde0984/NativeScript/android/issues/898 |
| og:image:alt | Please, provide the details below: Did you verify this is a real problem by searching [Stack Overflow] Yes. Tell us about the problem Webpack build fails with 4.0 android template. Please provide t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vchimev |
| hostname | github.com |
| expected-hostname | github.com |
| None | 59e55daad7174ca59d63c6974d58276ccb5477442e550bebb3c035e1bef11c94 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/android git https://github.com/NativeScript/android.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 29137950 |
| octolytics-dimension-repository_nwo | NativeScript/android |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 29137950 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/android |
| 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 | 990295d92a4cc7b63fbbd83a046217cd7d77d49c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width