{"action":"created","issue":{"url":"https://api.github.com/repos/strongloop/loopback/issues/784","repository_url":"https://api.github.com/repos/strongloop/loopback","labels_url":"https://api.github.com/repos/strongloop/loopback/issues/784/labels{/name}","comments_url":"https://api.github.com/repos/strongloop/loopback/issues/784/comments","events_url":"https://api.github.com/repos/strongloop/loopback/issues/784/events","html_url":"https://github.com/strongloop/loopback/issues/784","id":48351156,"number":784,"title":"Cannot find module 'loopback-phase' ","user":{"login":"cgole","id":991632,"avatar_url":"https://avatars.githubusercontent.com/u/991632?v=3","gravatar_id":"","url":"https://api.github.com/users/cgole","html_url":"https://github.com/cgole","followers_url":"https://api.github.com/users/cgole/followers","following_url":"https://api.github.com/users/cgole/following{/other_user}","gists_url":"https://api.github.com/users/cgole/gists{/gist_id}","starred_url":"https://api.github.com/users/cgole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cgole/subscriptions","organizations_url":"https://api.github.com/users/cgole/orgs","repos_url":"https://api.github.com/users/cgole/repos","events_url":"https://api.github.com/users/cgole/events{/privacy}","received_events_url":"https://api.github.com/users/cgole/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/strongloop/loopback/labels/bug","name":"bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-11T06:04:17Z","updated_at":"2016-04-21T17:38:38Z","closed_at":"2014-11-11T07:50:12Z","body":"$ slc loopback\r\nError loading module \"loopback\":\r\n { [Error: Cannot find module 'loopback-phase'] code: 'MODULE_NOT_FOUND' }\r\n\r\nLooks like we need to update the package.json with loopback-phase as dependency. \r\nBlocking"},"comment":{"url":"https://api.github.com/repos/strongloop/loopback/issues/comments/213032026","html_url":"https://github.com/strongloop/loopback/issues/784#issuecomment-213032026","issue_url":"https://api.github.com/repos/strongloop/loopback/issues/784","id":213032026,"user":{"login":"mike-aungsan","id":2186809,"avatar_url":"https://avatars.githubusercontent.com/u/2186809?v=3","gravatar_id":"","url":"https://api.github.com/users/mike-aungsan","html_url":"https://github.com/mike-aungsan","followers_url":"https://api.github.com/users/mike-aungsan/followers","following_url":"https://api.github.com/users/mike-aungsan/following{/other_user}","gists_url":"https://api.github.com/users/mike-aungsan/gists{/gist_id}","starred_url":"https://api.github.com/users/mike-aungsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mike-aungsan/subscriptions","organizations_url":"https://api.github.com/users/mike-aungsan/orgs","repos_url":"https://api.github.com/users/mike-aungsan/repos","events_url":"https://api.github.com/users/mike-aungsan/events{/privacy}","received_events_url":"https://api.github.com/users/mike-aungsan/received_events","type":"User","site_admin":false},"created_at":"2016-04-21T17:38:38Z","updated_at":"2016-04-21T17:38:38Z","body":"I am seeing this error again.\r\n\r\n$ npm -v\r\n2.15.1\r\n$ node -v\r\nv4.4.3\r\n\r\nError: Cannot find module 'loopback-phase'\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> (/usr/lib/node_modules/loopback/lib/server-app.js:4:27)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/usr/lib/node_modules/loopback/lib/loopback.js:6:23)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n    at Function.Module._load (module.js:300:12)\r\n    at Module.require (module.js:353:17)\r\n    at require (internal/module.js:12:17)\r\n    at Object.<anonymous> (/usr/lib/node_modules/loopback/index.js:5:33)\r\n    at Module._compile (module.js:409:26)\r\n    at Object.Module._extensions..js (module.js:416:10)\r\n    at Module.load (module.js:343:32)\r\n\r\n\r\n\r\n  \"dependencies\": {\r\n\r\n    \"compression\": \"1.6.0\",\r\n    \"cors\": \"2.7.1\",\r\n\r\n    \"loopback\": \"<=2.25.0\",\r\n    \"loopback-boot\": \"<=2.14.0\",\r\n    \"loopback-component-explorer\": \"2.1.1\",\r\n    \"loopback-datasource-juggler\": \"<=2.44.0\",\r\n    \"serve-favicon\": \"2.3.0\",\r\n\r\n    \"async\": \"1.5.2\",\r\n    \"lodash\": \"4.0.0\",\r\n\r\n    \"mongodb\": \"2.1.4\",\r\n    \"connect-mongo\": \"1.1.0\",\r\n\r\n    \"body-parser\": \"1.14.2\",\r\n\r\n    \"express-flash\": \"0.0.2\",\r\n    \"express-session\": \"1.13.0\",\r\n\r\n    \"cookie-parser\": \"1.4.1\",\r\n    \"connect-ensure-login\": \"0.1.1\",\r\n\r\n    \"passport-ldapauth\": \"0.5.0\",\r\n\r\n    \"loopback-connector-mongodb\": \"1.13.3\",\r\n    \"loopback-component-passport\": \"<=1.6.0\",\r\n    \"loopback-component-storage\": \"1.6.1\",\r\n    \"loopback-connector-rest\": \"1.10.1\",\r\n\r\n    \"ldapauth-fork\": \"2.5.0\",\r\n    \r\n    \"validator\": \"4.5.0\",\r\n    \"bluebird\": \"3.1.1 \",\r\n    \"fs-extra-promise\": \"0.3.1\",\r\n    \"multer\": \"1.1.0\",\r\n    \"mime\": \"1.3.4\",\r\n    \"bunyan\": \"1.5.1\",\r\n    \"bunyan-syslog\": \"0.3.1\",\r\n    \"request\": \"2.69.0\",\r\n    \"cron\": \"1.1.0\",\r\n    \"node-schedule\": \"1.0.0\",\r\n\r\n    \"moment\": \"2.11.2\",\r\n    \"response-time\": \"2.3.1\",\r\n    \"exceljs\": \"latest\"\r\n\r\n  }"}}