{"action":"created","issue":{"url":"https://api.github.com/repos/cozy/cozy-proxy/issues/180","labels_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/180/labels{/name}","comments_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/180/comments","events_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/180/events","html_url":"https://github.com/cozy/cozy-proxy/issues/180","id":108481506,"number":180,"title":"Error: Cannot find module 'bcrypt'","user":{"login":"jeekajoo","id":1882534,"avatar_url":"https://avatars.githubusercontent.com/u/1882534?v=3","gravatar_id":"","url":"https://api.github.com/users/jeekajoo","html_url":"https://github.com/jeekajoo","followers_url":"https://api.github.com/users/jeekajoo/followers","following_url":"https://api.github.com/users/jeekajoo/following{/other_user}","gists_url":"https://api.github.com/users/jeekajoo/gists{/gist_id}","starred_url":"https://api.github.com/users/jeekajoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeekajoo/subscriptions","organizations_url":"https://api.github.com/users/jeekajoo/orgs","repos_url":"https://api.github.com/users/jeekajoo/repos","events_url":"https://api.github.com/users/jeekajoo/events{/privacy}","received_events_url":"https://api.github.com/users/jeekajoo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-26T17:25:19Z","updated_at":"2015-09-27T19:34:18Z","closed_at":null,"body":"Hi,\r\nSince last update, it looks like proxy is broken due a missing dependency.\r\nI tried to uninstall / reinstall it without success.\r\n```bash\r\n# cozy-monitor uninstall proxy\r\ninfo - Uninstall started for proxy...\r\ninfo - proxy successfully uninstalled.\r\n# cozy-monitor install proxy\r\ninfo - Install started for proxy...\r\ninfo - proxy was successfully installed.\r\n# cozy-monitor start proxy\r\ninfo - Starting proxy...\r\nerror - An error occured:\r\nerror - Start failed for proxy.\r\n```\r\n\r\n/usr/local/var/log/cozy/proxy.log-backup:\r\n```python\r\nCannot find module 'bcrypt'\r\nError: Cannot find module 'bcrypt'\r\n    at Function.Module._resolveFilename (module.js:338:15)\r\n    at Function.Module._load (module.js:280:25)\r\n    at Module.require (module.js:364:17)\r\n    at require (module.js:380:17)\r\n    at Object.<anonymous> (/usr/local/cozy/apps/proxy/build/server/lib/passport_configurator.js:4:10)\r\n    at Module._compile (module.js:456:26)\r\n    at Object.Module._extensions..js (module.js:474:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:364:17)\r\n```\r\n```bash\r\n# cozy-monitor status\r\nmta: down\r\ncouch: up\r\ncontroller: up\r\ndata-system: up\r\nhome: up\r\nproxy: down\r\nindex: up\r\nkresus: up\r\ndatabrowser: up\r\nkonnectors: up\r\nfiles: up\r\n```\r\n```bash\r\n# npm -g ls -depth 0\r\n/usr/local/lib\r\n├── cozy-controller@2.0.31\r\n└── cozy-monitor@1.2.29\r\n```\r\nThanks\r\nJ."},"comment":{"url":"https://api.github.com/repos/cozy/cozy-proxy/issues/comments/143589321","html_url":"https://github.com/cozy/cozy-proxy/issues/180#issuecomment-143589321","issue_url":"https://api.github.com/repos/cozy/cozy-proxy/issues/180","id":143589321,"user":{"login":"clochix","id":384908,"avatar_url":"https://avatars.githubusercontent.com/u/384908?v=3","gravatar_id":"","url":"https://api.github.com/users/clochix","html_url":"https://github.com/clochix","followers_url":"https://api.github.com/users/clochix/followers","following_url":"https://api.github.com/users/clochix/following{/other_user}","gists_url":"https://api.github.com/users/clochix/gists{/gist_id}","starred_url":"https://api.github.com/users/clochix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clochix/subscriptions","organizations_url":"https://api.github.com/users/clochix/orgs","repos_url":"https://api.github.com/users/clochix/repos","events_url":"https://api.github.com/users/clochix/events{/privacy}","received_events_url":"https://api.github.com/users/clochix/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T19:34:18Z","updated_at":"2015-09-27T19:34:18Z","body":"Yes I know node-gyp comes with npm. Did you had a look at the tickets I mentioned in my previous comment ? They seems related. Unfortunately, I'm unable to reproduce your problem for now :-S"}}