{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/9980","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/9980/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/9980/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/9980/events","html_url":"https://github.com/angular/angular-cli/issues/9980","id":305805194,"number":9980,"title":"Halting Problem at 95%. Shows emitting as the action doing.","user":{"login":"tibinthomas","id":12974600,"avatar_url":"https://avatars1.githubusercontent.com/u/12974600?v=4","gravatar_id":"","url":"https://api.github.com/users/tibinthomas","html_url":"https://github.com/tibinthomas","followers_url":"https://api.github.com/users/tibinthomas/followers","following_url":"https://api.github.com/users/tibinthomas/following{/other_user}","gists_url":"https://api.github.com/users/tibinthomas/gists{/gist_id}","starred_url":"https://api.github.com/users/tibinthomas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tibinthomas/subscriptions","organizations_url":"https://api.github.com/users/tibinthomas/orgs","repos_url":"https://api.github.com/users/tibinthomas/repos","events_url":"https://api.github.com/users/tibinthomas/events{/privacy}","received_events_url":"https://api.github.com/users/tibinthomas/received_events","type":"User","site_admin":false},"labels":[{"id":343381718,"url":"https://api.github.com/repos/angular/angular-cli/labels/comp:%20cli/build","name":"comp: cli/build","color":"c7def8","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2018-03-16T05:18:25Z","updated_at":"2018-05-18T02:57:48Z","closed_at":null,"author_association":"NONE","body":"I was hit by a problem like halting problem of truing machine while using the angular cli as follows.\r\nMy script : node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build -e=prod --prod --sourcemap --vendor-chunk=true --build-optimizer \r\n\r\n\r\n### Versions\r\n```\r\nAngular CLI: 1.7.3\r\nNode: 9.8.0\r\nOS: win32 x64\r\nAngular: 5.2.8\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... http, language-service, platform-browser\r\n... platform-browser-dynamic, platform-server, router\r\n\r\n@angular/cli: 1.7.3\r\n@angular-devkit/build-optimizer: 0.3.2\r\n@angular-devkit/core: 0.3.2\r\n@angular-devkit/schematics: 0.3.2\r\n@ngtools/json-schema: 1.2.0\r\n@ngtools/webpack: 1.10.2\r\n@schematics/angular: 0.3.2\r\n@schematics/package-update: 0.3.2\r\ntypescript: 2.4.0\r\nwebpack-bundle-analyzer: 2.11.1\r\n```\r\n\r\n### Repro steps\r\n\r\nUse this script : node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build -e=prod --prod --sourcemap --vendor-chunk=true --build-optimizer  --stats-json\r\n\r\n* Apply the above script to any angular project.\r\n* If we replace --scourcemap with --no-souecemap the problem will not comes.\r\n\r\n### Observed behavior\r\n```\r\nThe program is running indefinitely.\r\n```\r\n\r\n### Desired behavior\r\n\r\nThe program should halt to say if there is some error in the script.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/390079648","html_url":"https://github.com/angular/angular-cli/issues/9980#issuecomment-390079648","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/9980","id":390079648,"user":{"login":"crunchyintheory","id":5205015,"avatar_url":"https://avatars1.githubusercontent.com/u/5205015?v=4","gravatar_id":"","url":"https://api.github.com/users/crunchyintheory","html_url":"https://github.com/crunchyintheory","followers_url":"https://api.github.com/users/crunchyintheory/followers","following_url":"https://api.github.com/users/crunchyintheory/following{/other_user}","gists_url":"https://api.github.com/users/crunchyintheory/gists{/gist_id}","starred_url":"https://api.github.com/users/crunchyintheory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crunchyintheory/subscriptions","organizations_url":"https://api.github.com/users/crunchyintheory/orgs","repos_url":"https://api.github.com/users/crunchyintheory/repos","events_url":"https://api.github.com/users/crunchyintheory/events{/privacy}","received_events_url":"https://api.github.com/users/crunchyintheory/received_events","type":"User","site_admin":false},"created_at":"2018-05-18T02:57:48Z","updated_at":"2018-05-18T02:57:48Z","author_association":"NONE","body":"+1, also having this problem when `sourceMap` is set to `true`"}}
{"actor":{"display_login":"crunchyintheory"}}