Title: Hook failures treated as bad user input · Issue #1268 · NativeScript/nativescript-cli · GitHub
Open Graph Title: Hook failures treated as bad user input · Issue #1268 · NativeScript/nativescript-cli
X Title: Hook failures treated as bad user input · Issue #1268 · NativeScript/nativescript-cli
Description: A failing hook correctly fails the build (tns prepare, tns run, etc), but that case gets treated as a user input error and the user sees the help page containing command invocation details and parameter lists. This is mostly a problem wi...
Open Graph Description: A failing hook correctly fails the build (tns prepare, tns run, etc), but that case gets treated as a user input error and the user sees the help page containing command invocation details and para...
X Description: A failing hook correctly fails the build (tns prepare, tns run, etc), but that case gets treated as a user input error and the user sees the help page containing command invocation details and para...
Opengraph URL: https://github.com/NativeScript/nativescript-cli/issues/1268
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hook failures treated as bad user input","articleBody":"A failing hook correctly fails the build (`tns prepare`, `tns run`, etc), but that case gets treated as a user input error and the user sees the help page containing command invocation details and parameter lists.\n\nThis is mostly a problem with the typescript compile hook since the `tns run` help page is pretty big and pushes the compile errors reported by the compiler off the screen.\n\n```\nExecuting before-prepare hook from /home/local/TELERIK/hdeshev/w/template-hello-world-ng/hooks/before-prepare/20-nativescript-dev-typescript.js\nFound peer TypeScript 1.6.2\n/home/local/TELERIK/hdeshev/w/template-hello-world-ng/app/app.ts(6,1): error TS2304: Cannot find name 'kuuuuuuuuuuuuuuu__'.\nTypeScript compiler failed with exit code 1\n# prepare\n┌─────────┬───────────────────────┐\n│ Usage │ Synopsis │\n│ General │ $ tns prepare android │\n└─────────┴───────────────────────┘\n\nCopies common and relevant platform-specific content from the app directory to the subdirectory for the selected target platform\nin the platforms directory. This lets you build the project with the SDK for the selected platform. \n\n```\n","author":{"url":"https://github.com/hdeshev","@type":"Person","name":"hdeshev"},"datePublished":"2015-11-27T11:52:27Z","url":"https://github.com/NativeScript/nativescript-cli/issues/1268"}
| 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:200d7e04-6dcc-f667-c959-3c6ce77d1f6c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8ED2:213839:3504B25:43C7226:6B01D77B |
| html-safe-nonce | df3dc3474a534ec23d58534c68ff58e4a0a28851f7d634f14a12b22315e29687 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RUQyOjIxMzgzOTozNTA0QjI1OjQzQzcyMjY6NkIwMUQ3N0IiLCJ2aXNpdG9yX2lkIjoiODMzNDcxMzM0MzQxNTgwMTcyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cbaebbd4fe7101a24af7258dfa97120e3df83cf1dcb925dbf463e1a0629453de |
| hovercard-subject-tag | issue:119183759 |
| 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/1268/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b9f953bfb6cb6139ac7745227d8e7dc560feee7f69af475e9a577425f8438f73/NativeScript/nativescript-cli/issues/1268 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b9f953bfb6cb6139ac7745227d8e7dc560feee7f69af475e9a577425f8438f73/NativeScript/nativescript-cli/issues/1268 |
| og:image:alt | A failing hook correctly fails the build (tns prepare, tns run, etc), but that case gets treated as a user input error and the user sees the help page containing command invocation details and para... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hdeshev |
| 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