{"action":"created","issue":{"url":"https://api.github.com/repos/aherve/simple-dockerized-dev-env/issues/2","repository_url":"https://api.github.com/repos/aherve/simple-dockerized-dev-env","labels_url":"https://api.github.com/repos/aherve/simple-dockerized-dev-env/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/aherve/simple-dockerized-dev-env/issues/2/comments","events_url":"https://api.github.com/repos/aherve/simple-dockerized-dev-env/issues/2/events","html_url":"https://github.com/aherve/simple-dockerized-dev-env/issues/2","id":143228870,"number":2,"title":"error $ docker-compose run hello","user":{"login":"pascalandy","id":6694151,"avatar_url":"https://avatars.githubusercontent.com/u/6694151?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalandy","html_url":"https://github.com/pascalandy","followers_url":"https://api.github.com/users/pascalandy/followers","following_url":"https://api.github.com/users/pascalandy/following{/other_user}","gists_url":"https://api.github.com/users/pascalandy/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalandy/subscriptions","organizations_url":"https://api.github.com/users/pascalandy/orgs","repos_url":"https://api.github.com/users/pascalandy/repos","events_url":"https://api.github.com/users/pascalandy/events{/privacy}","received_events_url":"https://api.github.com/users/pascalandy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-24T12:10:24Z","updated_at":"2016-03-24T12:23:05Z","closed_at":null,"body":"from the master branch.\r\n\r\n$ docker-compose run test\r\n\r\n```\r\nhello is loaded !\r\n\r\n  count\r\n    ✓ should return 1\r\n\r\n  1 passing (8ms)\r\n\r\nsimple-dockerized-dev-env|master ⇒ docker ps\r\nCONTAINER ID        IMAGE                                 COMMAND                  CREATED             STATUS              PORTS                         NAMES\r\nbbb7ca56b48c        mongo:3                               \"/entrypoint.sh mongo\"   2 minutes ago       Up 2 minutes        27017/tcp                     simpledockerizeddevenv_db_1\r\n17b3acde3cce        codekitchen/dinghy-http-proxy:2.0.3   \"forego start -r\"        32 minutes ago      Up 32 minutes       0.0.0.0:80->80/tcp, 443/tcp   dinghy_http_proxy\r\n```\r\n\r\nthen, $ docker-compose run hello\r\n\r\n```\r\nmodule.js:341\r\n    throw err;\r\n    ^\r\n\r\nError: Cannot find module 'express'\r\n    at Function.Module._resolveFilename (module.js:339:15)\r\n    at Function.Module._load (module.js:290:25)\r\n    at Module.require (module.js:367:17)\r\n    at require (internal/module.js:16:19)\r\n    at Object.<anonymous> (/app/src/hello.js:2:15)\r\n    at Module._compile (module.js:413:34)\r\n    at Object.Module._extensions..js (module.js:422:10)\r\n    at Module.load (module.js:357:32)\r\n    at Function.Module._load (module.js:314:12)\r\n    at Function.Module.runMain (module.js:447:10)\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/aherve/simple-dockerized-dev-env/issues/comments/200809252","html_url":"https://github.com/aherve/simple-dockerized-dev-env/issues/2#issuecomment-200809252","issue_url":"https://api.github.com/repos/aherve/simple-dockerized-dev-env/issues/2","id":200809252,"user":{"login":"pascalandy","id":6694151,"avatar_url":"https://avatars.githubusercontent.com/u/6694151?v=3","gravatar_id":"","url":"https://api.github.com/users/pascalandy","html_url":"https://github.com/pascalandy","followers_url":"https://api.github.com/users/pascalandy/followers","following_url":"https://api.github.com/users/pascalandy/following{/other_user}","gists_url":"https://api.github.com/users/pascalandy/gists{/gist_id}","starred_url":"https://api.github.com/users/pascalandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pascalandy/subscriptions","organizations_url":"https://api.github.com/users/pascalandy/orgs","repos_url":"https://api.github.com/users/pascalandy/repos","events_url":"https://api.github.com/users/pascalandy/events{/privacy}","received_events_url":"https://api.github.com/users/pascalandy/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T12:23:05Z","updated_at":"2016-03-24T12:23:05Z","body":"Also\r\n\r\n$ docker-compose run hello npm list\r\n\r\n```\r\ntest@1.0.0 /app\r\n+-- UNMET DEPENDENCY babel@^6.5.2\r\n+-- UNMET DEPENDENCY express@^4.13.4\r\n+-- UNMET DEPENDENCY mocha@^2.4.5\r\n`-- UNMET DEPENDENCY should@^8.2.2\r\n\r\nnpm ERR! missing: babel@^6.5.2, required by test@1.0.0\r\nnpm ERR! missing: express@^4.13.4, required by test@1.0.0\r\nnpm ERR! missing: mocha@^2.4.5, required by test@1.0.0\r\nnpm ERR! missing: should@^8.2.2, required by test@1.0.0\r\n```"}}