{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npmlog/issues/48","repository_url":"https://api.github.com/repos/npm/npmlog","labels_url":"https://api.github.com/repos/npm/npmlog/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/npm/npmlog/issues/48/comments","events_url":"https://api.github.com/repos/npm/npmlog/issues/48/events","html_url":"https://github.com/npm/npmlog/issues/48","id":203280761,"number":48,"title":"TypeError: log.gauge.isEnabled is not a function","user":{"login":"tylerlong","id":733544,"avatar_url":"https://avatars2.githubusercontent.com/u/733544?v=3","gravatar_id":"","url":"https://api.github.com/users/tylerlong","html_url":"https://github.com/tylerlong","followers_url":"https://api.github.com/users/tylerlong/followers","following_url":"https://api.github.com/users/tylerlong/following{/other_user}","gists_url":"https://api.github.com/users/tylerlong/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerlong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerlong/subscriptions","organizations_url":"https://api.github.com/users/tylerlong/orgs","repos_url":"https://api.github.com/users/tylerlong/repos","events_url":"https://api.github.com/users/tylerlong/events{/privacy}","received_events_url":"https://api.github.com/users/tylerlong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-01-26T02:46:01Z","updated_at":"2017-05-03T17:24:34Z","closed_at":null,"body":"```\r\n/Users/tyler.liu/src/electron/swagger-app/node_modules/npm/node_modules/npmlog/log.js:57\r\nlog.progressEnabled = log.gauge.isEnabled()\r\n                                ^\r\n\r\nTypeError: log.gauge.isEnabled is not a function\r\n    at Object.<anonymous> (/Users/tyler.liu/src/electron/swagger-app/node_modules/npm/node_modules/npmlog/log.js:57:33)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n    at Module.require (module.js:498:17)\r\n    at require (internal/module.js:20:19)\r\n    at Object.<anonymous> (/Users/tyler.liu/src/electron/swagger-app/node_modules/npm/lib/utils/umask.js:2:14)\r\n    at Module._compile (module.js:571:32)\r\n    at Object.Module._extensions..js (module.js:580:10)\r\n    at Module.load (module.js:488:32)\r\n    at tryModuleLoad (module.js:447:12)\r\n    at Function.Module._load (module.js:439:3)\r\n```\r\n\r\n## How to reproduce\r\n\r\nClone https://github.com/chentsulin/electron-react-boilerplate\r\n\r\n```\r\nyarn install\r\n\r\nyarn add npm-check-updates\r\n\r\nncu -ua && yarn upgrade\r\n\r\nncu -ua && yarn upgrade\r\n```\r\n\r\nRun the last command **twice** to reproduce the issue."},"comment":{"url":"https://api.github.com/repos/npm/npmlog/issues/comments/298978543","html_url":"https://github.com/npm/npmlog/issues/48#issuecomment-298978543","issue_url":"https://api.github.com/repos/npm/npmlog/issues/48","id":298978543,"user":{"login":"thlavacek","id":7270027,"avatar_url":"https://avatars0.githubusercontent.com/u/7270027?v=3","gravatar_id":"","url":"https://api.github.com/users/thlavacek","html_url":"https://github.com/thlavacek","followers_url":"https://api.github.com/users/thlavacek/followers","following_url":"https://api.github.com/users/thlavacek/following{/other_user}","gists_url":"https://api.github.com/users/thlavacek/gists{/gist_id}","starred_url":"https://api.github.com/users/thlavacek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thlavacek/subscriptions","organizations_url":"https://api.github.com/users/thlavacek/orgs","repos_url":"https://api.github.com/users/thlavacek/repos","events_url":"https://api.github.com/users/thlavacek/events{/privacy}","received_events_url":"https://api.github.com/users/thlavacek/received_events","type":"User","site_admin":false},"created_at":"2017-05-03T17:24:34Z","updated_at":"2017-05-03T17:24:34Z","body":"Not sure if it'll help others, but this workaround worked for a few times where I work.  The workaround we do is to do a \"rm -rf\" (or delete the folder in Windows) of the node_modules for the project being built, and try again.  The build should download all necessary dependencies to node_modules and build successfully.  Your mileage may vary."}}
{"actor":{"display_login":"thlavacek"}}