Title: Unable to run with webpack and CLI from master for android · Issue #2707 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Unable to run with webpack and CLI from master for android · Issue #2707 · NativeScript/nativescript-cli
X Title: Unable to run with webpack and CLI from master for android · Issue #2707 · NativeScript/nativescript-cli
Description: Details: User is unable to run the application with webpack and CLI from master for android, as it doesn't manage to clean properly the platforms folder. Steps to reproduce: npm install -g nativescript@next # 3.0.0-2017-04-11-8607 tns cr...
Open Graph Description: Details: User is unable to run the application with webpack and CLI from master for android, as it doesn't manage to clean properly the platforms folder. Steps to reproduce: npm install -g nativesc...
X Description: Details: User is unable to run the application with webpack and CLI from master for android, as it doesn't manage to clean properly the platforms folder. Steps to reproduce: npm install -g nati...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/2707
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to run with webpack and CLI from master for android","articleBody":"Details:\r\nUser is unable to run the application with webpack and CLI from master for android, as it doesn't manage to clean properly the platforms folder.\r\n\r\nSteps to reproduce:\r\n```\r\nnpm install -g nativescript@next # 3.0.0-2017-04-11-8607\r\ntns create appJS && cd appJS\r\ntns run android\r\nnpm install --save-dev nativescript-dev-webpack\r\nnpm run start-android-bundle\r\n```\r\n\r\nLog:\r\n```\r\n:asbg:runAstParser\r\nRunning incremental build\r\nfinished with reading lines with js files\r\n:asbg:generateBindings\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\n/Users/vchimev/Work/tmp/appJS/platforms/android/src/main/java/com/tns/NativeScriptActivity.java\r\n at org.nativescript.staticbindinggenerator.Generator.writeBindings(Generator.java:59)\r\n at org.nativescript.staticbindinggenerator.Main.main(Main.java:15)\r\n:asbg:generateBindings FAILED\r\n\r\nFAILURE: Build failed with an exception.\r\n\r\n* Where:\r\nBuild file '/Users/vchimev/Work/tmp/appJS/platforms/android/build-tools/android-static-binding-generator/build.gradle' line: 251\r\n\r\n* What went wrong:\r\nExecution failed for task ':asbg:generateBindings'.\r\n> Process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home/bin/java'' 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.\r\n\r\nBUILD FAILED\r\n\r\nTotal time: 8.98 secs\r\nMultiple errors were thrown:\r\nCommand ./gradlew failed with exit code 1\r\n```\r\n\r\nWorkaround:\r\n```\r\nrm -rf appJS/platforms/android\r\n```\r\n\r\nSuspected commit:\r\nhttps://github.com/NativeScript/nativescript-cli/commit/8dedbcdefef39b70822caad42b84dbc22c51551b\r\n","author":{"url":"https://github.com/vchimev","@type":"Person","name":"vchimev"},"datePublished":"2017-04-12T07:34:15Z","url":"https://github.com/NativeScript/nativescript-cli/issues/2707"}
| 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:c84594cc-052a-13a4-b644-45399e80cfed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BADA:1AE20C:28E11D1:33BB415:6B019967 |
| html-safe-nonce | 0a9dd95b57be93f9453e3aa9fa72fc75e03f8401478ac5ef6a6d5ff7acc46503 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQURBOjFBRTIwQzoyOEUxMUQxOjMzQkI0MTU6NkIwMTk5NjciLCJ2aXNpdG9yX2lkIjoiNjE1NDQ5NDU1NDE5NzMwMTYwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 836e9a92db072c1bb525635566297dd29970580adc26d921be732ec9c0ad5743 |
| hovercard-subject-tag | issue:221175692 |
| 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/nativescript-cli/2707/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e043dd80783bcfd70581b1fef515a47c31ddf7630e38c926ef122def2c4270e8/NativeScript/nativescript-cli/issues/2707 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e043dd80783bcfd70581b1fef515a47c31ddf7630e38c926ef122def2c4270e8/NativeScript/nativescript-cli/issues/2707 |
| og:image:alt | Details: User is unable to run the application with webpack and CLI from master for android, as it doesn't manage to clean properly the platforms folder. Steps to reproduce: npm install -g nativesc... |
| 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 | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 21347346 |
| octolytics-dimension-repository_nwo | NativeScript/nativescript-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21347346 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/nativescript-cli |
| 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