Title: 3rd party lib wiki instructions - broken with ng serve -prod · Issue #951 · angular/angular-cli · GitHub
Open Graph Title: 3rd party lib wiki instructions - broken with ng serve -prod · Issue #951 · angular/angular-cli
X Title: 3rd party lib wiki instructions - broken with ng serve -prod · Issue #951 · angular/angular-cli
Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) OSX El Cap Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: n...
Open Graph Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) OSX El Cap Versions. Please run ng --version. If there's nothin...
X Description: Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) OSX El Cap Versions. Please run ng --version. If there's no...
Opengraph URL: https://github.com/angular/angular-cli/issues/951
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"3rd party lib wiki instructions - broken with ng serve -prod","articleBody":"> ## Please provide us with the following information:\n> 1. OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\n\nOSX El Cap\n1. Versions. Please run `ng --version`. If there's nothing outputted, please\n run in a Terminal: \n node --version\n And paste the result here.\n\n```\n$ ng --version\n(node:11861) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.\nCould not start watchman; falling back to NodeWatcher for file system events.\nVisit http://ember-cli.com/user-guide/#watchman for more info.\nangular-cli: 1.0.0-beta.5\nnode: 6.1.0\nos: darwin x64\n```\n1. Repro steps. Was this an app that wasn't created using the CLI? What change did you\n do on your code? etc.\n- ng new your app\n- Follow instructions in https://github.com/angular/angular-cli/wiki/3rd-party-libs to add the moment.js library.\n- `ng serve`, works fine\n- `ng serve -prod` - the application never finishes bootstrapping, never replaces the \"loading\" text. No messages, just failure.\n1. The log given by the failure. Normally this include a stack trace and some\n more information.\n\nThis is an extremely frustrating failure mode: there is no log output. There is no error. If there is nothing in the terminal, there is nothing in the browser console. The application simply fails to ever come to life.\n1. Mention any other details that might be useful.\n > ---------------------------------------------------------------\n > > Thanks! We'll be in touch soon.\n\nBased on the number of issues open in the last few days that mention it, the wiki page about adding libraries appears to be insufficient at best, and more likely wrong (at least for -prod). I suggest replacing it or augmenting it with a demo repository showing an example:\n- Several common third-party libraries, integrated in the recommended way.\n- Tested with each new CLI release.\n- Tested with the -prod option.\n","author":{"url":"https://github.com/kylecordes","@type":"Person","name":"kylecordes"},"datePublished":"2016-05-29T02:31:20Z","url":"https://github.com/angular/angular-cli/issues/951"}
| 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:07f434ad-635d-152d-d184-8bdfc61ff07c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E3EA:10014:18C6676:21E4294:6B058324 |
| html-safe-nonce | 603b5932786925c3e5ffd707c58751970620ca2cda7f5eb5f4d64b136b167193 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0VBOjEwMDE0OjE4QzY2NzY6MjFFNDI5NDo2QjA1ODMyNCIsInZpc2l0b3JfaWQiOiI1MTc2NzQ4MzU4ODE5NDgwMzU2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6115a6d7bc8c54ff403355edc1d53b2adcc90bb1989222ae9b5a17f0b966bd5f |
| hovercard-subject-tag | issue:157365819 |
| 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/angular/angular-cli/951/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ef6d54cb08b3467bb6fda3e4b79598d654777205df4c1b2d39d54550847f3e6a/angular/angular-cli/issues/951 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ef6d54cb08b3467bb6fda3e4b79598d654777205df4c1b2d39d54550847f3e6a/angular/angular-cli/issues/951 |
| og:image:alt | Please provide us with the following information: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) OSX El Cap Versions. Please run ng --version. If there's nothin... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kylecordes |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9b4256ac5f3e310e7945ef5b71c9cb9e264357b1eb20e91d369ed6502a4c486c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular-cli git https://github.com/angular/angular-cli.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 36891867 |
| octolytics-dimension-repository_nwo | angular/angular-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 36891867 |
| octolytics-dimension-repository_network_root_nwo | angular/angular-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 | f089e689ad324655ac44bf6cdbc04d976105b374 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width