{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/1213","labels_url":"https://api.github.com/repos/facebook/flow/issues/1213/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/1213/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/1213/events","html_url":"https://github.com/facebook/flow/issues/1213","id":123889872,"number":1213,"title":"bluebird: Required module not found","user":{"login":"henridf","id":1022041,"avatar_url":"https://avatars.githubusercontent.com/u/1022041?v=3","gravatar_id":"","url":"https://api.github.com/users/henridf","html_url":"https://github.com/henridf","followers_url":"https://api.github.com/users/henridf/followers","following_url":"https://api.github.com/users/henridf/following{/other_user}","gists_url":"https://api.github.com/users/henridf/gists{/gist_id}","starred_url":"https://api.github.com/users/henridf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henridf/subscriptions","organizations_url":"https://api.github.com/users/henridf/orgs","repos_url":"https://api.github.com/users/henridf/repos","events_url":"https://api.github.com/users/henridf/events{/privacy}","received_events_url":"https://api.github.com/users/henridf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-25T16:48:49Z","updated_at":"2015-12-28T17:31:23Z","closed_at":null,"body":"(I'm guessing this must be blindingly obvious but haven't found any answer after searching/googling so here goes...)\r\n\r\nI'm using flow on a small node-based project. Flow is finding some npm-installed modules just fine (`require('underscore')`, `require('log4js')`). \r\n\r\nBut I've just added bluebird, and `require('bluebird')` gets me a \"Required module not found\" error. Any ideas what is special about the bluebird package that results in this? "},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/167608104","html_url":"https://github.com/facebook/flow/issues/1213#issuecomment-167608104","issue_url":"https://api.github.com/repos/facebook/flow/issues/1213","id":167608104,"user":{"login":"henridf","id":1022041,"avatar_url":"https://avatars.githubusercontent.com/u/1022041?v=3","gravatar_id":"","url":"https://api.github.com/users/henridf","html_url":"https://github.com/henridf","followers_url":"https://api.github.com/users/henridf/followers","following_url":"https://api.github.com/users/henridf/following{/other_user}","gists_url":"https://api.github.com/users/henridf/gists{/gist_id}","starred_url":"https://api.github.com/users/henridf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henridf/subscriptions","organizations_url":"https://api.github.com/users/henridf/orgs","repos_url":"https://api.github.com/users/henridf/repos","events_url":"https://api.github.com/users/henridf/events{/privacy}","received_events_url":"https://api.github.com/users/henridf/received_events","type":"User","site_admin":false},"created_at":"2015-12-28T17:31:23Z","updated_at":"2015-12-28T17:31:23Z","body":"Actually I'd already tried that and it doesn't work. \r\n\r\nWhat would be really helpful is some description (or pointer to, if i've missed something somewhere) of how flow handles requires/imports and what it automagically does with node_modules. \r\n\r\nAs noted above, flow finds other modules in node_modules just fine, without having added that path to .flowconfig."}}