{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/6221","labels_url":"https://api.github.com/repos/npm/npm/issues/6221/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/6221/comments","events_url":"https://api.github.com/repos/npm/npm/issues/6221/events","html_url":"https://github.com/npm/npm/issues/6221","id":43104933,"number":6221,"title":"npm rebuild - Error: ENOENT, open '/build/app/[object Object]/package.json'","user":{"login":"sdbondi","id":1057902,"avatar_url":"https://avatars.githubusercontent.com/u/1057902?v=3","gravatar_id":"","url":"https://api.github.com/users/sdbondi","html_url":"https://github.com/sdbondi","followers_url":"https://api.github.com/users/sdbondi/followers","following_url":"https://api.github.com/users/sdbondi/following{/other_user}","gists_url":"https://api.github.com/users/sdbondi/gists{/gist_id}","starred_url":"https://api.github.com/users/sdbondi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdbondi/subscriptions","organizations_url":"https://api.github.com/users/sdbondi/orgs","repos_url":"https://api.github.com/users/sdbondi/repos","events_url":"https://api.github.com/users/sdbondi/events{/privacy}","received_events_url":"https://api.github.com/users/sdbondi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/bug","name":"bug","color":"C40233"},{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-09-18T07:49:58Z","updated_at":"2015-10-14T14:22:43Z","closed_at":"2014-12-24T01:00:10Z","body":"Node Version: `v0.10.32`\r\nnpm version: `1.4.28`\r\n\r\nWhen running an `npm rebuild` on our build server and my local machine (both Ubuntu 14.04) I get the following:\r\n\r\n```\r\n       npm ERR! Error: ENOENT, open '/build/app/[object Object]/package.json'\r\n       npm ERR! If you need help, you may report this *entire* log,\r\n       npm ERR! including the npm and node versions, at:\r\n       npm ERR!     <http://github.com/npm/npm/issues>\r\n       \r\n       npm ERR! System Linux 3.13.0-24-generic\r\n       npm ERR! command \"/build/app/vendor/node/bin/node\" \"/build/app/vendor/node/bin/npm\" \"rebuild\"\r\n       npm ERR! cwd /build/app\r\n       npm ERR! node -v v0.10.32\r\n       npm ERR! npm -v 1.4.28\r\n       npm ERR! path /build/app/[object Object]/package.json\r\n       npm ERR! code ENOENT\r\n       npm ERR! errno 34\r\n       npm ERR! \r\n       npm ERR! Additional logging details can be found in:\r\n       npm ERR!     /build/app/npm-debug.log\r\n       npm ERR! not ok code 0\r\n```\r\n\r\nMy package.json: (for what it's worth)\r\n\r\n```\r\n{\r\n  \"author\": \"Fixate\",\r\n  \"name\": \"fooapp\",\r\n  \"version\": \"0.0.1\",\r\n\t\"private\": true,\r\n\t\"engine\": \"node >= 0.10.0\",\r\n  \"dependencies\": {\r\n    \"bower\": \"latest\"\r\n  },\r\n  \"path\": {\r\n    \"assets\": \"app/assets\"\r\n  }\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/148065221","html_url":"https://github.com/npm/npm/issues/6221#issuecomment-148065221","issue_url":"https://api.github.com/repos/npm/npm/issues/6221","id":148065221,"user":{"login":"boboldehampsink","id":378974,"avatar_url":"https://avatars.githubusercontent.com/u/378974?v=3","gravatar_id":"","url":"https://api.github.com/users/boboldehampsink","html_url":"https://github.com/boboldehampsink","followers_url":"https://api.github.com/users/boboldehampsink/followers","following_url":"https://api.github.com/users/boboldehampsink/following{/other_user}","gists_url":"https://api.github.com/users/boboldehampsink/gists{/gist_id}","starred_url":"https://api.github.com/users/boboldehampsink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boboldehampsink/subscriptions","organizations_url":"https://api.github.com/users/boboldehampsink/orgs","repos_url":"https://api.github.com/users/boboldehampsink/repos","events_url":"https://api.github.com/users/boboldehampsink/events{/privacy}","received_events_url":"https://api.github.com/users/boboldehampsink/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T14:22:43Z","updated_at":"2015-10-14T14:22:43Z","body":"Ok, this was because \"path\" in `package.json` was an object, and has to be string"}}