{"action":"closed","issue":{"url":"https://api.github.com/repos/dadi/api/issues/387","repository_url":"https://api.github.com/repos/dadi/api","labels_url":"https://api.github.com/repos/dadi/api/issues/387/labels{/name}","comments_url":"https://api.github.com/repos/dadi/api/issues/387/comments","events_url":"https://api.github.com/repos/dadi/api/issues/387/events","html_url":"https://github.com/dadi/api/issues/387","id":298832404,"node_id":"MDU6SXNzdWUyOTg4MzI0MDQ=","number":387,"title":"After cloning API repository cannot start server due to missing @dadi/api-mongodb datastore","user":{"login":"davidmacp","id":36462430,"node_id":"MDQ6VXNlcjM2NDYyNDMw","avatar_url":"https://avatars3.githubusercontent.com/u/36462430?v=4","gravatar_id":"","url":"https://api.github.com/users/davidmacp","html_url":"https://github.com/davidmacp","followers_url":"https://api.github.com/users/davidmacp/followers","following_url":"https://api.github.com/users/davidmacp/following{/other_user}","gists_url":"https://api.github.com/users/davidmacp/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmacp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmacp/subscriptions","organizations_url":"https://api.github.com/users/davidmacp/orgs","repos_url":"https://api.github.com/users/davidmacp/repos","events_url":"https://api.github.com/users/davidmacp/events{/privacy}","received_events_url":"https://api.github.com/users/davidmacp/received_events","type":"User","site_admin":false},"labels":[{"id":651955207,"node_id":"MDU6TGFiZWw2NTE5NTUyMDc=","url":"https://api.github.com/repos/dadi/api/labels/type:%20maintenance","name":"type: maintenance","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-21T03:44:57Z","updated_at":"2018-06-13T06:28:40Z","closed_at":"2018-06-13T06:28:40Z","author_association":"CONTRIBUTOR","body":"### Expected behavior\r\nFollowing the current README.MD expected a clean install and start.\r\n\r\nAfter cloning API Product and running `npm install` followed by `npm start`, the API should start as expected without any error.\r\n\r\n### Actual behavior\r\nRunning `npm install` is successful\r\nRunning `npm start` gets the following error:\r\n`Error: API configured to use a datastore that has not been installed: \"@dadi/api-mongodb\"`\r\n\r\n### Steps to reproduce the problem\r\n1. `git clone https://github.com/dadi/api.git`\r\n2. `npm install`\r\n3. `npm start`\r\n4.  Error received - `Error: API configured to use a datastore that has not been installed: \"@dadi/api-mongodb\"`\r\n\r\n[npm-debug.log](https://github.com/dadi/api/files/1742728/npm-debug.log)\r\n\r\n### Package details\r\nnode v6.11.2\r\nnpm  v3.10.10\r\n@dadi/api@3.0.0\r\n\r\n### Subsequent Notes\r\nRunning `npm install @dadi/api-mongodb` fixes the initial error.\r\nCan/should this step be added to the README.MD?\r\n\r\n"}}
{"actor":{"display_login":"jimlambie"}}