Title: AOT: Compilation sometimes fails on serve · Issue #2900 · angular/angular-cli · GitHub
Open Graph Title: AOT: Compilation sometimes fails on serve · Issue #2900 · angular/angular-cli
X Title: AOT: Compilation sometimes fails on serve · Issue #2900 · angular/angular-cli
Description: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Mac OSX 10.11.6 (El Capitan) Versions. Please run ng --version. If there's nothing outputted, please run in a Terminal: node --version and paste the resu...
Open Graph Description: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Mac OSX 10.11.6 (El Capitan) Versions. Please run ng --version. If there's nothing outputted, please run in a Ter...
X Description: OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Mac OSX 10.11.6 (El Capitan) Versions. Please run ng --version. If there's nothing outputted, please run in a...
Opengraph URL: https://github.com/angular/angular-cli/issues/2900
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AOT: Compilation sometimes fails on serve","articleBody":"### OS?\n\n\u003e Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)\n\nMac OSX 10.11.6 (El Capitan)\n### Versions.\n\n\u003e Please run `ng --version`. If there's nothing outputted, please run in a Terminal: `node --version` and paste the result here:\n\n```\n$ ng --version\nangular-cli: 1.0.0-beta.18\nnode: 6.9.1\nos: darwin x64\n```\n### Repro steps.\n\n\u003e Was this an app that wasn't created using the CLI? What change did you do on your code? etc.\n\nThe app was created with the CLI tool. I created a completely fresh, brand-new project, ran `$ ng serve --aot`, and then made a (any) change to a file. At this point, the browser reloads, and _sometimes_ the error shown below is given.\n### The log given by the failure.\n\n\u003e Normally this include a stack trace and some more information.\n\nNote, this doesn't happen every time. It seems like it's only sometimes, randomly. Perhaps a race condition?\n\n```\nstyle_sanitizer.js:95 Uncaught Error: Module build failed: Error: ENOENT: no such file or directory, open '/Users/seer/git/github.com/SeerUK/angular2-cli-issue-test/src/app/app.module.ngfactory.ts'(…)(anonymous function) @ style_sanitizer.js:95__webpack_require__ @ bootstrap 03ed31e…:52(anonymous function) @ main.ts:8__webpack_require__ @ bootstrap 03ed31e…:52(anonymous function) @ zone.js:1428__webpack_require__ @ bootstrap 03ed31e…:52webpackJsonpCallback @ bootstrap 03ed31e…:23(anonymous function) @ main.bundle.js:1\nclient:38 [WDS] Errors while compiling.\nclient:80 ./src/app/app.module.ngfactory.ts\nModule build failed: Error: ENOENT: no such file or directory, open '/Users/seer/git/github.com/SeerUK/angular2-cli-issue-test/src/app/app.module.ngfactory.ts'\n at Error (native)\n @ ./src/main.ts 4:0-64\n @ multi main\n```\n### Mention any other details that might be useful.\n\nN/A currently.\n","author":{"url":"https://github.com/seeruk","@type":"Person","name":"seeruk"},"datePublished":"2016-10-26T13:25:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/2900/angular-cli/issues/2900"}
| 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:15652a7e-e7b5-e6ac-dec4-fd4156e050b5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B840:83DE7:B6B4155:EC694D9:6976A115 |
| html-safe-nonce | 4fef9f3f5ce342b7893109371f723fe47fac8ec505130908ab1bedfe6f546781 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODQwOjgzREU3OkI2QjQxNTU6RUM2OTREOTo2OTc2QTExNSIsInZpc2l0b3JfaWQiOiIzNzc0ODQ2Nzc1NDAzNjUxMzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 62f10ff3fd43dc24db819977f6e93f8e2a9f57ee0997569a21bbd5e26a3d3bbc |
| hovercard-subject-tag | issue:185392656 |
| 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/2900/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b0e8cc70194243f574d43c0780eb6a174b3f2f99010e748df1f27ba2c3d6a60/angular/angular-cli/issues/2900 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b0e8cc70194243f574d43c0780eb6a174b3f2f99010e748df1f27ba2c3d6a60/angular/angular-cli/issues/2900 |
| og:image:alt | OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?) Mac OSX 10.11.6 (El Capitan) Versions. Please run ng --version. If there's nothing outputted, please run in a Ter... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | seeruk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| 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 | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width