Title: ng serve -prod fails (beta 5) · Issue #847 · angular/angular-cli · GitHub
Open Graph Title: ng serve -prod fails (beta 5) · Issue #847 · angular/angular-cli
X Title: ng serve -prod fails (beta 5) · Issue #847 · angular/angular-cli
Description: OS? Debian Jessie Versions. Please run ng --version. angular-cli: 1.0.0-beta.5 node: 5.11.1 os: linux x64 Repro steps. Was this an app that wasn't created using the CLI? What change did you do on your code? etc. ng new ngtestmobile --mob...
Open Graph Description: OS? Debian Jessie Versions. Please run ng --version. angular-cli: 1.0.0-beta.5 node: 5.11.1 os: linux x64 Repro steps. Was this an app that wasn't created using the CLI? What change did you do on y...
X Description: OS? Debian Jessie Versions. Please run ng --version. angular-cli: 1.0.0-beta.5 node: 5.11.1 os: linux x64 Repro steps. Was this an app that wasn't created using the CLI? What change did you do ...
Opengraph URL: https://github.com/angular/angular-cli/issues/847
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ng serve -prod fails (beta 5)","articleBody":"1. OS?\n Debian Jessie\n2. Versions. Please run `ng --version`.\n angular-cli: 1.0.0-beta.5\n node: 5.11.1\n os: linux x64\n3. Repro steps. Was this an app that wasn't created using the CLI? What change did you\n do on your code? etc.\n 1. `ng new ngtestmobile --mobile`\n 2. `cd ngtestmobile`\n 3. `ng serve` -- works normally.\n 4. `ng serve -prod` -- doesn't work.\n \n No changes in the code.\n4. The log given by the failure. Normally this include a stack trace and some\n more information.\n\n```\n$ ng serve -prod\nCould not start watchman; falling back to NodeWatcher for file system events.\nVisit http://ember-cli.com/user-guide/#watchman for more info.\nLivereload server on http://localhost:49152\nServing on http://localhost:4200/\nThe Broccoli Plugin: [SourceMapConcat] failed with:\nError: ENOENT: no such file or directory, open '/home/daviddiaz/projects/tests/ngtestmobile/tmp/source_map_concat-input_base_path-dxPccJ6Q.tmp/0/vendor/reflect-metadata/Reflect.ts'\n at Error (native)\n at Object.fs.openSync (fs.js:584:18)\n at Object.fs.readFileSync (fs.js:431:33)\n at SourceMap.\u003canonymous> (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:282:29)\n at Array.map (native)\n at Object.Call (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/es6-shim/es6-shim.js:289:14)\n at Array.map (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/es6-shim/es6-shim.js:1301:17)\n at SourceMap._resolveSourcesContent (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:275:27)\n at SourceMap._assimilateExistingMap (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:248:63)\n at SourceMap.\u003canonymous> (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:219:12)\n at SourceMap._cacheEncoderResults (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:125:16)\n at SourceMap._addMap (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:218:10)\n at SourceMap.addFileSource (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:92:19)\n at SourceMap.addFile (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/node_modules/fast-sourcemap-concat/lib/source-map.js:70:15)\n at /home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/concat.js:100:16\n at Array.forEach (native)\n\nThe broccoli plugin was instantiated at: \n at ConcatWithMaps.Plugin (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-caching-writer/node_modules/broccoli-plugin/index.js:10:31)\n at ConcatWithMaps.CachingWriter [as constructor] (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-caching-writer/index.js:21:10)\n at new ConcatWithMaps (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/concat.js:22:17)\n at module.exports (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/broccoli-concat/index.js:26:10)\n at Angular2App._getBundleTree (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/lib/broccoli/angular2-app.js:424:20)\n at Angular2App._buildTree (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/lib/broccoli/angular2-app.js:159:21)\n at new Angular2App (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/lib/broccoli/angular2-app.js:53:23)\n at module.exports (/home/daviddiaz/projects/tests/ngtestmobile/angular-cli-build.js:6:10)\n at Class.module.exports.Task.extend.setupBroccoliBuilder (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:55:19)\n at Class.module.exports.Task.extend.init (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/lib/models/builder.js:89:10)\n at new Class (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/node_modules/core-object/core-object.js:18:12)\n at Class.module.exports.Task.extend.run (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/lib/tasks/serve.js:15:19)\n at /home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/lib/commands/serve.js:64:24\n at lib$rsvp$$internal$$tryCatch (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1036:16)\n at lib$rsvp$$internal$$invokeCallback (/home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:1048:17)\n at /home/daviddiaz/projects/tests/ngtestmobile/node_modules/angular-cli/node_modules/angular-cli/node_modules/rsvp/dist/rsvp.js:331:11\n```\n1. Mention any other details that might be useful.\n\nThis problem only happen using the `--mobile` flag when tries to concat the vendor polyfills to build `app-concat.js` in index.html.\n\n> ---\n","author":{"url":"https://github.com/ddiazpinto","@type":"Person","name":"ddiazpinto"},"datePublished":"2016-05-19T20:55:42Z","url":"https://github.com/angular/angular-cli/issues/847"}
| 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:6a6e1947-fd0c-2d90-07e3-ba484dc8653d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 95DC:31E3E4:30A614D:4032F5D:6B058058 |
| html-safe-nonce | dc03df3ef4b18b460892527b48b7d07179bc6c86bd940e42033f796c88a3e445 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NURDOjMxRTNFNDozMEE2MTREOjQwMzJGNUQ6NkIwNTgwNTgiLCJ2aXNpdG9yX2lkIjoiNTU4NzQ0NTY4MDUzNzI3MzIwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 01352bcfe19f3a7f3701748c6ee4beaa884b6e8ca6d24383d53502665fefca7b |
| hovercard-subject-tag | issue:155832958 |
| 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/847/issue_layout |
| twitter:image | https://opengraph.githubassets.com/081e06e035864af74b1586ee66d237d6f62ba488ea330be988ef2793f0de8b78/angular/angular-cli/issues/847 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/081e06e035864af74b1586ee66d237d6f62ba488ea330be988ef2793f0de8b78/angular/angular-cli/issues/847 |
| og:image:alt | OS? Debian Jessie Versions. Please run ng --version. angular-cli: 1.0.0-beta.5 node: 5.11.1 os: linux x64 Repro steps. Was this an app that wasn't created using the CLI? What change did you do on y... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ddiazpinto |
| 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 | canary-2 |
| 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