{"action":"opened","issue":{"url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/356","repository_url":"https://api.github.com/repos/wheresrhys/fetch-mock","labels_url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/356/comments","events_url":"https://api.github.com/repos/wheresrhys/fetch-mock/issues/356/events","html_url":"https://github.com/wheresrhys/fetch-mock/issues/356","id":354902750,"node_id":"MDU6SXNzdWUzNTQ5MDI3NTA=","number":356,"title":"node-fetch is required by fetch-mock for Node.js, but not listed as a dependency","user":{"login":"ajm13","id":18257337,"node_id":"MDQ6VXNlcjE4MjU3MzM3","avatar_url":"https://avatars2.githubusercontent.com/u/18257337?v=4","gravatar_id":"","url":"https://api.github.com/users/ajm13","html_url":"https://github.com/ajm13","followers_url":"https://api.github.com/users/ajm13/followers","following_url":"https://api.github.com/users/ajm13/following{/other_user}","gists_url":"https://api.github.com/users/ajm13/gists{/gist_id}","starred_url":"https://api.github.com/users/ajm13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajm13/subscriptions","organizations_url":"https://api.github.com/users/ajm13/orgs","repos_url":"https://api.github.com/users/ajm13/repos","events_url":"https://api.github.com/users/ajm13/events{/privacy}","received_events_url":"https://api.github.com/users/ajm13/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-28T21:02:18Z","updated_at":"2018-08-28T21:02:18Z","closed_at":null,"author_association":"NONE","body":"First off, great work on this package, it is really nice!\r\n\r\n**Problem:**\r\nI am currently using `fetch-mock` for testing a Node.js application, and my application uses `isomorphic-fetch` for a global fetch.\r\n\r\nWhen running tests locally, everything works (presumably because I have `node-fetch` installed globally), but when running through a continuous integration service like CircleCI, it fails saying it can't find the module `node-fetch` required by `fetch-mock` in `fetch-mock/src/server.js`\r\n\r\n**Suggested fix:**\r\nAdd `node-fetch` as a dependency in `package.json`, instead of just a devDependency"}}
{"actor":{"display_login":"ajm13"}}