{"action":"opened","issue":{"url":"https://api.github.com/repos/Polymer/polymer-cli/issues/233","repository_url":"https://api.github.com/repos/Polymer/polymer-cli","labels_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/233/comments","events_url":"https://api.github.com/repos/Polymer/polymer-cli/issues/233/events","html_url":"https://github.com/Polymer/polymer-cli/issues/233","id":157802313,"number":233,"title":"Build complaining about package.json ","user":{"login":"JGSolutions","id":197318,"avatar_url":"https://avatars.githubusercontent.com/u/197318?v=3","gravatar_id":"","url":"https://api.github.com/users/JGSolutions","html_url":"https://github.com/JGSolutions","followers_url":"https://api.github.com/users/JGSolutions/followers","following_url":"https://api.github.com/users/JGSolutions/following{/other_user}","gists_url":"https://api.github.com/users/JGSolutions/gists{/gist_id}","starred_url":"https://api.github.com/users/JGSolutions/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JGSolutions/subscriptions","organizations_url":"https://api.github.com/users/JGSolutions/orgs","repos_url":"https://api.github.com/users/JGSolutions/repos","events_url":"https://api.github.com/users/JGSolutions/events{/privacy}","received_events_url":"https://api.github.com/users/JGSolutions/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-01T00:59:35Z","updated_at":"2016-06-01T00:59:35Z","closed_at":null,"body":"@FredKSchott \r\nSteps to be reproduce. On a mac with node v4.4.5\r\n\r\n1. npm install -g polymer-cli\r\n2. mkdir my-app\r\n3. cd my-app\r\n4. polymer init app-drawer-template\r\n5. polymer build --verbose\r\n\r\nResults:\r\nerror [Error: Could not find dependencies. Do you have a package.json file in your project?]\r\nError: Could not find dependencies. Do you have a package.json file in your project?\r\n    at module.exports (/Users/jerrygag/node_modules/gulp-load-plugins/index.js:56:11)\r\n    at Object.<anonymous> (/Users/jerrygag/Desktop/gulpfile.js:15:37)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at getGulpfile (/Users/jerrygag/node_modules/polymer-cli/lib/build/build.js:172:28)\r\n    at /Users/jerrygag/node_modules/polymer-cli/lib/build/build.js:87:24\r\nL-2225:test jerrygag$ polymer build --verbose\r\ndebug:   got args:\r\n{ args: [ 'build', '--verbose' ] }\r\ndebug:   adding command build\r\ndebug:   adding command help\r\ndebug:   adding command init\r\ndebug:   adding command lint\r\ndebug:   adding command serve\r\ndebug:   adding command test\r\ndebug:   running...\r\ndebug:   command parsed\r\n{ name: 'build',\r\n  options:\r\n   { _all: { 'sw-precache-config': 'sw-precache-config.js', verbose: true },\r\n     global: { verbose: true },\r\n     _none: { 'sw-precache-config': 'sw-precache-config.js' } } }\r\ndebug:   config read\r\n{ root: '/Users/jerrygag/Desktop/esl.projects/restaurant/test',\r\n  entrypoint: '/Users/jerrygag/Desktop/esl.projects/restaurant/test/index.html',\r\n  shell: '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-app.html',\r\n  fragments:\r\n   [ '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view1.html',\r\n     '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view2.html',\r\n     '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view3.html' ],\r\n  inputs:\r\n   [ '/Users/jerrygag/Desktop/esl.projects/restaurant/test/index.html',\r\n     '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-app.html',\r\n     '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view1.html',\r\n     '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view2.html',\r\n     '/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view3.html' ] }\r\ndebug:   Running command...\r\ndebug:   building with options\r\n{ sources: undefined,\r\n  swPrecacheConfig: 'sw-precache-config.js',\r\n  insertDependencyLinks: undefined,\r\n  html: {},\r\n  css: {},\r\n  js: {} }\r\ndebug:   building via standard build()...\r\ndebug:   shell: /Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-app.html\r\ndebug:   entrypoint: /Users/jerrygag/Desktop/esl.projects/restaurant/test/index.html\r\ndebug:   dependencies: /Users/jerrygag/Desktop/esl.projects/restaurant/test/bower_components/**/*\r\ndebug:   sources: /Users/jerrygag/Desktop/esl.projects/restaurant/test/index.html,/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-app.html,/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view1.html,/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view2.html,/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view3.html,/Users/jerrygag/Desktop/esl.projects/restaurant/test/**/*,!build,!build/**/*,!bower_components,!bower_components/**/*,!node_modules,!node_modules/**/*\r\ndebug:   fragments: /Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view1.html,/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view2.html,/Users/jerrygag/Desktop/esl.projects/restaurant/test/src/my-view3.html\r\nerror [Error: Could not find dependencies. Do you have a package.json file in your project?]\r\nError: Could not find dependencies. Do you have a package.json file in your project?\r\n    at module.exports (/Users/jerrygag/node_modules/gulp-load-plugins/index.js:56:11)\r\n    at Object.<anonymous> (/Users/jerrygag/Desktop/gulpfile.js:15:37)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at getGulpfile (/Users/jerrygag/node_modules/polymer-cli/lib/build/build.js:172:28)\r\n    at /Users/jerrygag/node_modules/polymer-cli/lib/build/build.js:87:24"}}
{"actor":{"display_login":"JGSolutions"}}