{"action":"opened","issue":{"url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/471","repository_url":"https://api.github.com/repos/GoogleChrome/sw-helpers","labels_url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/471/labels{/name}","comments_url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/471/comments","events_url":"https://api.github.com/repos/GoogleChrome/sw-helpers/issues/471/events","html_url":"https://github.com/GoogleChrome/sw-helpers/issues/471","id":225152142,"number":471,"title":"npm run serve fails with a missing script error, though still listed in package.json","user":{"login":"jpmedley","id":8204171,"avatar_url":"https://avatars2.githubusercontent.com/u/8204171?v=3","gravatar_id":"","url":"https://api.github.com/users/jpmedley","html_url":"https://github.com/jpmedley","followers_url":"https://api.github.com/users/jpmedley/followers","following_url":"https://api.github.com/users/jpmedley/following{/other_user}","gists_url":"https://api.github.com/users/jpmedley/gists{/gist_id}","starred_url":"https://api.github.com/users/jpmedley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpmedley/subscriptions","organizations_url":"https://api.github.com/users/jpmedley/orgs","repos_url":"https://api.github.com/users/jpmedley/repos","events_url":"https://api.github.com/users/jpmedley/events{/privacy}","received_events_url":"https://api.github.com/users/jpmedley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-28T18:03:39Z","updated_at":"2017-04-28T18:03:39Z","closed_at":null,"body":"Console Output:\r\n\r\n```\r\nnpm ERR! Darwin 16.5.0\r\nnpm ERR! argv \"/Users/jmedley/Homebrew/Cellar/node/7.4.0/bin/node\" \"/Users/jmedley/Homebrew/bin/npm\" \"run\" \"serve\"\r\nnpm ERR! node v7.4.0\r\nnpm ERR! npm  v4.0.5\r\n\r\nnpm ERR! missing script: serve\r\nnpm ERR! \r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <https://github.com/npm/npm/issues>\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/jmedley/Documents/tools/workbox/npm-debug.log\r\n```\r\n\r\nnpm-debug.log:\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/Users/jmedley/Homebrew/Cellar/node/7.4.0/bin/node',\r\n1 verbose cli   '/Users/jmedley/Homebrew/bin/npm',\r\n1 verbose cli   'run',\r\n1 verbose cli   'serve' ]\r\n2 info using npm@4.0.5\r\n3 info using node@v7.4.0\r\n4 verbose stack Error: missing script: serve\r\n4 verbose stack     at run (/Users/jmedley/Homebrew/lib/node_modules/npm/lib/run-script.js:151:19)\r\n4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/lib/run-script.js:61:5\r\n4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5\r\n4 verbose stack     at checkBinReferences_ (/Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:45)\r\n4 verbose stack     at final (/Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:354:3)\r\n4 verbose stack     at then (/Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:5)\r\n4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/read-package-json/read-json.js:311:12\r\n4 verbose stack     at /Users/jmedley/Homebrew/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16\r\n4 verbose stack     at tryToString (fs.js:426:3)\r\n4 verbose stack     at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:413:12)\r\n5 verbose cwd /Users/jmedley/Documents/tools/workbox\r\n6 error Darwin 16.5.0\r\n7 error argv \"/Users/jmedley/Homebrew/Cellar/node/7.4.0/bin/node\" \"/Users/jmedley/Homebrew/bin/npm\" \"run\" \"serve\"\r\n8 error node v7.4.0\r\n9 error npm  v4.0.5\r\n10 error missing script: serve\r\n11 error If you need help, you may report this error at:\r\n11 error     <https://github.com/npm/npm/issues>\r\n12 verbose exit [ 1, true ]\r\n```"}}
{"actor":{"display_login":"jpmedley"}}