{"action":"created","issue":{"url":"https://api.github.com/repos/aruntk/polymer-apollo-frontpage/issues/2","repository_url":"https://api.github.com/repos/aruntk/polymer-apollo-frontpage","labels_url":"https://api.github.com/repos/aruntk/polymer-apollo-frontpage/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/aruntk/polymer-apollo-frontpage/issues/2/comments","events_url":"https://api.github.com/repos/aruntk/polymer-apollo-frontpage/issues/2/events","html_url":"https://github.com/aruntk/polymer-apollo-frontpage/issues/2","id":189834091,"number":2,"title":"Error: Cannot find module 'webpack'","user":{"login":"vedtam","id":4981592,"avatar_url":"https://avatars.githubusercontent.com/u/4981592?v=3","gravatar_id":"","url":"https://api.github.com/users/vedtam","html_url":"https://github.com/vedtam","followers_url":"https://api.github.com/users/vedtam/followers","following_url":"https://api.github.com/users/vedtam/following{/other_user}","gists_url":"https://api.github.com/users/vedtam/gists{/gist_id}","starred_url":"https://api.github.com/users/vedtam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedtam/subscriptions","organizations_url":"https://api.github.com/users/vedtam/orgs","repos_url":"https://api.github.com/users/vedtam/repos","events_url":"https://api.github.com/users/vedtam/events{/privacy}","received_events_url":"https://api.github.com/users/vedtam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-16T20:28:32Z","updated_at":"2016-11-16T21:08:21Z","closed_at":null,"body":"hello @aruntk,\r\n\r\nSorry for bothering, I have spent a whole day trying to get this project working but without luck. Now when I clone this repo and try to start it I get:\r\n\r\nWarnings when installing:\r\n```\r\nnpm WARN optional Skipping failed optional dependency /chokidar/fsevents:\r\nnpm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.15\r\nnpm WARN babel-loader@6.2.7 requires a peer of webpack@1 || ^2.1.0-beta but none was installed.\r\nnpm WARN webpack-dev-server@2.1.0-beta.11 requires a peer of webpack@^2.1.0-beta.26 but none was installed.\r\nnpm WARN webpack-dev-middleware@1.8.4 requires a peer of webpack@1 || ^2.1.0-beta but none was installed.\r\n```\r\n\r\nError on Startup:\r\n\r\n```\r\nvedtam@vedtam-K52Jc:~/test/polimer-apollo/polymer-apollo-frontpage$ sudo npm start\r\n\r\n> frontpage-polymer-app@ start /home/vedtam/test/polimer-apollo/polymer-apollo-frontpage\r\n> webpack-dev-server --inline --hot --port 3000\r\n\r\nmodule.js:328\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'webpack'\r\n    at Function.Module._resolveFilename (module.js:326:15)\r\n    at Function.Module._load (module.js:277:25)\r\n    at Module.require (module.js:354:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/home/vedtam/test/polimer-apollo/polymer-apollo-frontpage/node_modules/webpack-dev-server/lib/Server.js:13:15)\r\n    at Module._compile (module.js:410:26)\r\n    at Object.Module._extensions..js (module.js:417:10)\r\n    at Module.load (module.js:344:32)\r\n    at Function.Module._load (module.js:301:12)\r\n    at Module.require (module.js:354:17)\r\n\r\nnpm ERR! Linux 4.4.0-47-generic\r\nnpm ERR! argv \"/usr/bin/nodejs\" \"/usr/bin/npm\" \"start\"\r\nnpm ERR! node v4.2.6\r\nnpm ERR! npm  v3.5.2\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! frontpage-polymer-app@ start: `webpack-dev-server --inline --hot --port 3000`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the frontpage-polymer-app@ start script 'webpack-dev-server --inline --hot --port 3000'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the frontpage-polymer-app package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     webpack-dev-server --inline --hot --port 3000\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs frontpage-polymer-app\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls frontpage-polymer-app\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/vedtam/test/polimer-apollo/polymer-apollo-frontpage/npm-debug.log\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/aruntk/polymer-apollo-frontpage/issues/comments/261072252","html_url":"https://github.com/aruntk/polymer-apollo-frontpage/issues/2#issuecomment-261072252","issue_url":"https://api.github.com/repos/aruntk/polymer-apollo-frontpage/issues/2","id":261072252,"user":{"login":"vedtam","id":4981592,"avatar_url":"https://avatars.githubusercontent.com/u/4981592?v=3","gravatar_id":"","url":"https://api.github.com/users/vedtam","html_url":"https://github.com/vedtam","followers_url":"https://api.github.com/users/vedtam/followers","following_url":"https://api.github.com/users/vedtam/following{/other_user}","gists_url":"https://api.github.com/users/vedtam/gists{/gist_id}","starred_url":"https://api.github.com/users/vedtam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vedtam/subscriptions","organizations_url":"https://api.github.com/users/vedtam/orgs","repos_url":"https://api.github.com/users/vedtam/repos","events_url":"https://api.github.com/users/vedtam/events{/privacy}","received_events_url":"https://api.github.com/users/vedtam/received_events","type":"User","site_admin":false},"created_at":"2016-11-16T21:08:21Z","updated_at":"2016-11-16T21:08:21Z","body":"The way I could fix this was via (adding back webpack and removing the ^ -sign from webpack-dev-server):\r\n\r\n```\r\n\"webpack\": \"2.1.0-beta.22\",\r\n \"webpack-dev-server\": \"2.1.0-beta.0\"\r\n```\r\n\r\nunfortunatelly with this fixed in my polymer app, with the GraphiQl server sunning I get:\r\n\r\n```\r\nUncaught TypeError: Cannot convert undefined or null to object\r\n    at Function.keys (<anonymous>)\r\n    at DollarApollo.process (eval at <anonymous> (http://localhost:3000/dist/build.js:1455:1), <anonymous>:353:38)\r\n    at HTMLElement.beforeRegister (eval at <anonymous> (http://localhost:3000/dist/build.js:1455:1), <anonymous>:418:26)\r\n    at HTMLElement._invokeBehavior (http://localhost:3000/src/vulcanized.html:462:4)\r\n    at HTMLElement._doBehavior (http://localhost:3000/src/vulcanized.html:455:6)\r\n    at HTMLElement.registerCallback (http://localhost:3000/src/vulcanized.html:205:6)\r\n    at desugar (http://localhost:3000/src/vulcanized.html:96:11)\r\n    at window.Polymer (http://localhost:3000/src/vulcanized.html:80:15)\r\n    at eval (eval at <anonymous> (http://localhost:3000/dist/build.js:1286:1), <anonymous>:38:1)\r\n    at Object.<anonymous> (http://localhost:3000/dist/build.js:1286:1)\r\n```"}}
{"actor":{"display_login":"vedtam"}}