{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/6405","repository_url":"https://api.github.com/repos/meteor/meteor","labels_url":"https://api.github.com/repos/meteor/meteor/issues/6405/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/6405/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/6405/events","html_url":"https://github.com/meteor/meteor/issues/6405","id":138406231,"number":6405,"title":"Minification error when running test mode with `--production`","user":{"login":"tmeasday","id":132554,"avatar_url":"https://avatars.githubusercontent.com/u/132554?v=3","gravatar_id":"","url":"https://api.github.com/users/tmeasday","html_url":"https://github.com/tmeasday","followers_url":"https://api.github.com/users/tmeasday/followers","following_url":"https://api.github.com/users/tmeasday/following{/other_user}","gists_url":"https://api.github.com/users/tmeasday/gists{/gist_id}","starred_url":"https://api.github.com/users/tmeasday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmeasday/subscriptions","organizations_url":"https://api.github.com/users/tmeasday/orgs","repos_url":"https://api.github.com/users/tmeasday/repos","events_url":"https://api.github.com/users/tmeasday/events{/privacy}","received_events_url":"https://api.github.com/users/tmeasday/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"tmeasday","id":132554,"avatar_url":"https://avatars.githubusercontent.com/u/132554?v=3","gravatar_id":"","url":"https://api.github.com/users/tmeasday","html_url":"https://github.com/tmeasday","followers_url":"https://api.github.com/users/tmeasday/followers","following_url":"https://api.github.com/users/tmeasday/following{/other_user}","gists_url":"https://api.github.com/users/tmeasday/gists{/gist_id}","starred_url":"https://api.github.com/users/tmeasday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmeasday/subscriptions","organizations_url":"https://api.github.com/users/tmeasday/orgs","repos_url":"https://api.github.com/users/tmeasday/repos","events_url":"https://api.github.com/users/tmeasday/events{/privacy}","received_events_url":"https://api.github.com/users/tmeasday/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/meteor/meteor/milestones/8","html_url":"https://github.com/meteor/meteor/milestones/Release%201.3","labels_url":"https://api.github.com/repos/meteor/meteor/milestones/8/labels","id":1456857,"number":8,"title":"Release 1.3","description":"","creator":{"login":"benjamn","id":5750,"avatar_url":"https://avatars.githubusercontent.com/u/5750?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamn","html_url":"https://github.com/benjamn","followers_url":"https://api.github.com/users/benjamn/followers","following_url":"https://api.github.com/users/benjamn/following{/other_user}","gists_url":"https://api.github.com/users/benjamn/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamn/subscriptions","organizations_url":"https://api.github.com/users/benjamn/orgs","repos_url":"https://api.github.com/users/benjamn/repos","events_url":"https://api.github.com/users/benjamn/events{/privacy}","received_events_url":"https://api.github.com/users/benjamn/received_events","type":"User","site_admin":false},"open_issues":53,"closed_issues":151,"state":"open","created_at":"2015-12-11T23:35:25Z","updated_at":"2016-03-06T11:10:28Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-03-04T07:45:24Z","updated_at":"2016-03-06T13:44:00Z","closed_at":null,"body":"```\r\n   While minifying app code:\r\n\r\n   /Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:196:18:\r\n   Unexpected token: operator (>)\r\n   at new JS_Parse_Error\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:196:18)\r\n   at js_error\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:204:11)\r\n   at croak\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:675:9)\r\n   at token_error\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:683:9)\r\n   at unexpected\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:689:9)\r\n   at expr_atom\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:1196:9)\r\n   at maybe_unary\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:1358:19)\r\n   at expr_ops\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:1393:24)\r\n   at maybe_conditional\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:1398:20)\r\n   at maybe_assign\r\n   (/Users/tom/.meteor/packages/standard-minifier-js/.1.0.3-beta.12.1ud7nb6++os+web.browser+web.cordova/plugin.minifyStdJS.os/npm/minifier-js/node_modules/uglify-js/lib/parse.js:1422:20)\r\n```"},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/192890401","html_url":"https://github.com/meteor/meteor/issues/6405#issuecomment-192890401","issue_url":"https://api.github.com/repos/meteor/meteor/issues/6405","id":192890401,"user":{"login":"froatsnook","id":10405574,"avatar_url":"https://avatars.githubusercontent.com/u/10405574?v=3","gravatar_id":"","url":"https://api.github.com/users/froatsnook","html_url":"https://github.com/froatsnook","followers_url":"https://api.github.com/users/froatsnook/followers","following_url":"https://api.github.com/users/froatsnook/following{/other_user}","gists_url":"https://api.github.com/users/froatsnook/gists{/gist_id}","starred_url":"https://api.github.com/users/froatsnook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/froatsnook/subscriptions","organizations_url":"https://api.github.com/users/froatsnook/orgs","repos_url":"https://api.github.com/users/froatsnook/repos","events_url":"https://api.github.com/users/froatsnook/events{/privacy}","received_events_url":"https://api.github.com/users/froatsnook/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T13:43:59Z","updated_at":"2016-03-06T13:43:59Z","body":"I get errors like this during minification when I forget to depend on ecmascript in one of my packages.  Maybe the same thing happened to you?\r\n\r\nI really wish uglifyjs would print out the file and line number where it found the unexpected token.  I had an hour of head-scratching when this first bit me."}}