{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server-example/issues/237","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server-example","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server-example/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server-example/issues/237/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server-example/issues/237/events","html_url":"https://github.com/ParsePlatform/parse-server-example/issues/237","id":164692039,"number":237,"title":"NPM start fails with custom parse-server dependency","user":{"login":"acegreen","id":10794609,"avatar_url":"https://avatars.githubusercontent.com/u/10794609?v=3","gravatar_id":"","url":"https://api.github.com/users/acegreen","html_url":"https://github.com/acegreen","followers_url":"https://api.github.com/users/acegreen/followers","following_url":"https://api.github.com/users/acegreen/following{/other_user}","gists_url":"https://api.github.com/users/acegreen/gists{/gist_id}","starred_url":"https://api.github.com/users/acegreen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acegreen/subscriptions","organizations_url":"https://api.github.com/users/acegreen/orgs","repos_url":"https://api.github.com/users/acegreen/repos","events_url":"https://api.github.com/users/acegreen/events{/privacy}","received_events_url":"https://api.github.com/users/acegreen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-07-10T00:16:45Z","updated_at":"2016-07-10T20:11:39Z","closed_at":null,"body":"I tried to use parse-server master branch (it has an important fix) and the installation seems to have gone fine. I updated my index.js, etc and then tried npm install and it failed.\r\n\r\nI add the dependency as such:\r\n\"parse-server\": \"ParsePlatform/parse-server#1fb7679\"\r\nand also \r\n\"parse-server\": \"ParsePlatform/parse-server\"\r\n\r\nI also tried to what was suggested here but no luck\r\nhttps://github.com/ParsePlatform/parse-server/issues/700\r\n\r\nAnd tried to change the package BEFORE npm install, no luck\r\n\r\nAnd I did rm -r node_modules and npm install several times, also no luck\r\n\r\n./node_modules seems to contain parse-server but something isn't clicking. \r\n\r\n```\r\nError: Cannot find module 'parse-server'\r\n    at Function.Module._resolveFilename (module.js:325:15)\r\n    at Function.Module._load (module.js:276:25)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/root/parse-server-2.2.15-withFix/index.js:5:19)\r\n    at Module._compile (module.js:397:26)\r\n    at Object.Module._extensions..js (module.js:404:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Function.Module.runMain (module.js:429:10)\r\n\r\nnpm ERR! Linux 4.2.0-36-generic\r\nnpm ERR! argv \"/usr/local/bin/node\" \"/usr/local/bin/npm\" \"start\"\r\nnpm ERR! node v5.4.1\r\nnpm ERR! npm  v3.3.12\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! parse-server-example@1.4.0 start: `node index.js`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the parse-server-example@1.4.0 start script 'node index.js'.\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 parse-server-example package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node index.js\r\nnpm ERR! You can get their info via:\r\nnpm ERR!     npm owner ls parse-server-example\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!     /root/parse-server-2.2.15-withFix/npm-debug.log\r\n```"},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server-example/issues/comments/231608316","html_url":"https://github.com/ParsePlatform/parse-server-example/issues/237#issuecomment-231608316","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server-example/issues/237","id":231608316,"user":{"login":"drew-gross","id":558242,"avatar_url":"https://avatars.githubusercontent.com/u/558242?v=3","gravatar_id":"","url":"https://api.github.com/users/drew-gross","html_url":"https://github.com/drew-gross","followers_url":"https://api.github.com/users/drew-gross/followers","following_url":"https://api.github.com/users/drew-gross/following{/other_user}","gists_url":"https://api.github.com/users/drew-gross/gists{/gist_id}","starred_url":"https://api.github.com/users/drew-gross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drew-gross/subscriptions","organizations_url":"https://api.github.com/users/drew-gross/orgs","repos_url":"https://api.github.com/users/drew-gross/repos","events_url":"https://api.github.com/users/drew-gross/events{/privacy}","received_events_url":"https://api.github.com/users/drew-gross/received_events","type":"User","site_admin":false},"created_at":"2016-07-10T20:11:39Z","updated_at":"2016-07-10T20:11:39Z","body":"No I use `npm link` to remain on master. I think it's meant more for when you are developing npm modules but maybe it might work for you as well. Keep in mind we have a build step, which might complicate things."}}
{"actor":{"display_login":"drew-gross"}}