{"action":"created","issue":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1838","repository_url":"https://api.github.com/repos/facebookincubator/create-react-app","labels_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1838/labels{/name}","comments_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1838/comments","events_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1838/events","html_url":"https://github.com/facebookincubator/create-react-app/issues/1838","id":214665674,"number":1838,"title":"Build fails due to UglifyJS error","user":{"login":"Baransu","id":9558691,"avatar_url":"https://avatars1.githubusercontent.com/u/9558691?v=3","gravatar_id":"","url":"https://api.github.com/users/Baransu","html_url":"https://github.com/Baransu","followers_url":"https://api.github.com/users/Baransu/followers","following_url":"https://api.github.com/users/Baransu/following{/other_user}","gists_url":"https://api.github.com/users/Baransu/gists{/gist_id}","starred_url":"https://api.github.com/users/Baransu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Baransu/subscriptions","organizations_url":"https://api.github.com/users/Baransu/orgs","repos_url":"https://api.github.com/users/Baransu/repos","events_url":"https://api.github.com/users/Baransu/events{/privacy}","received_events_url":"https://api.github.com/users/Baransu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-16T10:54:57Z","updated_at":"2017-03-16T14:48:11Z","closed_at":"2017-03-16T14:48:11Z","body":"### Description\r\n\r\nWhen I'm running `yarn build`, my build fails due to UglifyJS error.\r\n\r\n### Expected behavior\r\n\r\nUglfing should work and build should not crash\r\n\r\n### Actual behavior\r\n\r\nError during compilation: \r\n```\r\nstatic/js/main.1202540e.js from UglifyJs\r\nSyntaxError: Unexpected token punc «(», expected punc «:» [./~/print.js/src/js/browser.js:3,0]\r\n```\r\n\r\nThere is problem with [print.js](https://github.com/crabbly/Print.js) lib that I'm using, but mentioned file seems to looks fine. That's why I'm curious what can I do and how can I fix this problem. While I'm running `yarn start` and testing in development mode everything works perfect without any warnings etc.\r\n\r\nI don't know if this is related to CRA enough but if anyone can help me with this it'd amazing.\r\n\r\n### Environment\r\n\r\n1. `npm ls react-scripts` (if you haven’t ejected): `react-scripts@0.9.3` \r\n2. `node -v`: `7.4.0`\r\n3. `npm -v`: `4.0.5`\r\n4. Operating system: macOS 10.11.6\r\n\r\nEDIT: I've also updated `react-scripts` to `0.9.5` and error still occurs."},"comment":{"url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/comments/287080632","html_url":"https://github.com/facebookincubator/create-react-app/issues/1838#issuecomment-287080632","issue_url":"https://api.github.com/repos/facebookincubator/create-react-app/issues/1838","id":287080632,"user":{"login":"Timer","id":616428,"avatar_url":"https://avatars2.githubusercontent.com/u/616428?v=3","gravatar_id":"","url":"https://api.github.com/users/Timer","html_url":"https://github.com/Timer","followers_url":"https://api.github.com/users/Timer/followers","following_url":"https://api.github.com/users/Timer/following{/other_user}","gists_url":"https://api.github.com/users/Timer/gists{/gist_id}","starred_url":"https://api.github.com/users/Timer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Timer/subscriptions","organizations_url":"https://api.github.com/users/Timer/orgs","repos_url":"https://api.github.com/users/Timer/repos","events_url":"https://api.github.com/users/Timer/events{/privacy}","received_events_url":"https://api.github.com/users/Timer/received_events","type":"User","site_admin":false},"created_at":"2017-03-16T14:48:10Z","updated_at":"2017-03-16T14:48:10Z","body":"I'm going to close this because it's not very actionable by us. If you eject, there's ways around this (update webpack config to process it by babel), but I wouldn't eject for something as trivial as this.\r\n\r\nLet us know if you run into anything else. Thanks!"}}
{"actor":{"display_login":"Timer"}}