{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/76","labels_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/76/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/76/comments","events_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/76/events","html_url":"https://github.com/PolymerElements/polymer-starter-kit/issues/76","id":82966843,"number":76,"title":"Error Installing Deps Linux","user":{"login":"danielhickman","id":5341898,"avatar_url":"https://avatars.githubusercontent.com/u/5341898?v=3","gravatar_id":"","url":"https://api.github.com/users/danielhickman","html_url":"https://github.com/danielhickman","followers_url":"https://api.github.com/users/danielhickman/followers","following_url":"https://api.github.com/users/danielhickman/following{/other_user}","gists_url":"https://api.github.com/users/danielhickman/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhickman/subscriptions","organizations_url":"https://api.github.com/users/danielhickman/orgs","repos_url":"https://api.github.com/users/danielhickman/repos","events_url":"https://api.github.com/users/danielhickman/events{/privacy}","received_events_url":"https://api.github.com/users/danielhickman/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":36,"created_at":"2015-05-31T01:42:04Z","updated_at":"2015-06-02T17:50:52Z","closed_at":null,"body":"I run `sudo npm run deps` and I get a bunch of warns in the process including 5 optional deps failed and \r\n```\r\nnpm WARN package.json polymer-starter-kit@0.0.0 No repository field.\r\nnpm WARN engine imagemin@3.2.0: wanted: {\"node\":\">=0.10.0\",\"npm\":\">=2.1.5\"} (current: {\"node\":\"0.10.38\",\"npm\":\"1.4.28\"})\r\n```\r\n\r\n**Debug Log:**\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run', 'deps' ]\r\n2 info using npm@1.4.28\r\n3 info using node@v0.10.38\r\n4 verbose node symlink /usr/bin/node\r\n5 verbose run-script [ 'predeps', 'deps', 'postdeps' ]\r\n6 info predeps polymer-starter-kit@0.0.0\r\n7 info deps polymer-starter-kit@0.0.0\r\n8 verbose unsafe-perm in lifecycle true\r\n9 info polymer-starter-kit@0.0.0 Failed to exec deps script\r\n10 error polymer-starter-kit@0.0.0 deps: `npm install -g gulp && npm install -g bower && npm install && bower install`\r\n10 error Exit status 47\r\n11 error Failed at the polymer-starter-kit@0.0.0 deps script.\r\n11 error This is most likely a problem with the polymer-starter-kit package,\r\n11 error not with npm itself.\r\n11 error Tell the author that this fails on your system:\r\n11 error     npm install -g gulp && npm install -g bower && npm install && bower install\r\n11 error You can get their info via:\r\n11 error     npm owner ls polymer-starter-kit\r\n11 error There is likely additional logging output above.\r\n12 error System Linux 3.18.5-x86_64-linode52\r\n13 error command \"/usr/bin/node\" \"/usr/bin/npm\" \"run\" \"deps\"\r\n14 error cwd /var/www/materialcolorize.com/public_html\r\n15 error node -v v0.10.38\r\n16 error npm -v 1.4.28\r\n17 error code ELIFECYCLE\r\n18 verbose exit [ 1, true ]\r\n```\r\n\r\nI run a Ubuntu 14.04.2 VPN server with no updates needing to be made. I extracted the polymer-starter-kit-1.0.0 into /var/www/materialcolorize.com/public_html/ (where the virtual host has document root listed) Plain HTML files work fine in that folder, but after the errors, it just shows me the Index Of: apache2 default."},"comment":{"url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/comments/108029725","html_url":"https://github.com/PolymerElements/polymer-starter-kit/issues/76#issuecomment-108029725","issue_url":"https://api.github.com/repos/PolymerElements/polymer-starter-kit/issues/76","id":108029725,"user":{"login":"steinhoff1989","id":6587638,"avatar_url":"https://avatars.githubusercontent.com/u/6587638?v=3","gravatar_id":"","url":"https://api.github.com/users/steinhoff1989","html_url":"https://github.com/steinhoff1989","followers_url":"https://api.github.com/users/steinhoff1989/followers","following_url":"https://api.github.com/users/steinhoff1989/following{/other_user}","gists_url":"https://api.github.com/users/steinhoff1989/gists{/gist_id}","starred_url":"https://api.github.com/users/steinhoff1989/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steinhoff1989/subscriptions","organizations_url":"https://api.github.com/users/steinhoff1989/orgs","repos_url":"https://api.github.com/users/steinhoff1989/repos","events_url":"https://api.github.com/users/steinhoff1989/events{/privacy}","received_events_url":"https://api.github.com/users/steinhoff1989/received_events","type":"User","site_admin":false},"created_at":"2015-06-02T17:50:52Z","updated_at":"2015-06-02T17:50:52Z","body":"Had the same error with \"file exists\". Looks like a npm bug.\r\n\r\nPlease check the npm Version you are on. (npm -v)\r\nI have been on 1.4.28 like @danielhickman, This version has a bug you are fighting with discribed here:\r\nhttps://github.com/npm/npm/issues/6309\r\n\r\nAfter updating npm to 2.11.1 \"npm run deps\" finished without errors.\r\n\r\nBe carefull if you are on Windows and installed npm via node in \"C:\\Program Files\\\". Updating npm by calling \"npm install npm@2.11.0\". This will install npm in \"%AppData%\\npm\", but your cmd will still use the old npm version, as long as you delete it from \"C:\\Program Files\\nodejs\" like described here:\r\nhttps://github.com/npm/npm/issues/6309#issuecomment-67549380\r\n\r\nSo please chekc you npm version, before running \"npm run deps\"!"}}