{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/6365","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/6365/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/6365/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/6365/events","html_url":"https://github.com/facebook/flow/issues/6365","id":326755558,"node_id":"MDU6SXNzdWUzMjY3NTU1NTg=","number":6365,"title":"Flow cannot resolve modules when run on the same project on a different computer","user":{"login":"jamesqo","id":9159214,"node_id":"MDQ6VXNlcjkxNTkyMTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/9159214?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesqo","html_url":"https://github.com/jamesqo","followers_url":"https://api.github.com/users/jamesqo/followers","following_url":"https://api.github.com/users/jamesqo/following{/other_user}","gists_url":"https://api.github.com/users/jamesqo/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesqo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesqo/subscriptions","organizations_url":"https://api.github.com/users/jamesqo/orgs","repos_url":"https://api.github.com/users/jamesqo/repos","events_url":"https://api.github.com/users/jamesqo/events{/privacy}","received_events_url":"https://api.github.com/users/jamesqo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-26T17:46:08Z","updated_at":"2018-06-04T14:00:22Z","closed_at":null,"author_association":"NONE","body":"I'm using Flow version `0.72.0` for my project. On my Windows laptop, running `flow` works fine; however, on my desktop I'm getting a `could not resolve module` error for every import that I have. Both relative (`import _ from './search_screens';`) and absolute (`import _ from 'react-native';`) imports seem to raise this error. Is there anything I could be doing wrong?\r\n\r\nHere's what my .flowconfig looks like (basically the same as the default React Native one but w/ a few changes):\r\n\r\n```\r\n[ignore]\r\n; We fork some components by platform\r\n.*/*[.]android.js\r\n\r\n; Ignore \"BUCK\" generated dirs\r\n<PROJECT_ROOT>/\\.buckd/\r\n\r\n; Ignore unexpected extra \"@providesModule\"\r\n.*/node_modules/.*/node_modules/fbjs/.*\r\n\r\n; Ignore duplicate module providers\r\n; For RN Apps installed via npm, \"Libraries\" folder is inside\r\n; \"node_modules/react-native\" but in the source repo it is in the root\r\n.*/Libraries/react-native/React.js\r\n\r\n; Ignore polyfills\r\n.*/Libraries/polyfills/.*\r\n\r\n; Ignore metro\r\n.*/node_modules/metro/.*\r\n\r\n[include]\r\n\r\n[libs]\r\nnode_modules/react-native/Libraries/react-native/react-native-interface.js\r\nnode_modules/react-native/flow/\r\nnode_modules/react-native/flow-github/\r\n\r\n[options]\r\nemoji=true\r\n\r\nmodule.system=haste\r\n\r\nmodule.use_strict=true\r\n\r\nmunge_underscores=true\r\n\r\nmodule.name_mapper='^[./a-zA-Z0-9$_-]+\\.\\(bmp\\|gif\\|jpg\\|jpeg\\|png\\|psd\\|svg\\|webp\\|m4v\\|mov\\|mp4\\|mpeg\\|mpg\\|webm\\|aac\\|aiff\\|caf\\|m4a\\|mp3\\|wav\\|html\\|pdf\\)$' -> 'RelativeImageStub'\r\n# These should correspond to the aliases for babel-plugin-module-resolver in .babelrc\r\nmodule.name_mapper='^app/\\([-a-zA-Z0-9$_/]+\\)$' -> '<PROJECT_ROOT>/src/\\1'\r\nmodule.name_mapper='^core/\\([-a-zA-Z0-9$_/]+\\)$' -> '<PROJECT_ROOT>/src/core/\\1'\r\nmodule.name_mapper='^tests/\\([-a-zA-Z0-9$_/]+\\)$' -> '<PROJECT_ROOT>/__tests__/\\1'\r\n\r\nmodule.file_ext=.js\r\nmodule.file_ext=.jsx\r\nmodule.file_ext=.json\r\nmodule.file_ext=.native.js\r\n\r\nsuppress_type=$FlowIssue\r\nsuppress_type=$FlowFixMe\r\nsuppress_type=$FlowFixMeProps\r\nsuppress_type=$FlowFixMeState\r\n\r\nsuppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowFixMe\\\\($\\\\|[^(]\\\\|(\\\\(<VERSION>\\\\)? *\\\\(site=[a-z,_]*react_native[a-z,_]*\\\\)?)\\\\)\r\nsuppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowIssue\\\\((\\\\(<VERSION>\\\\)? *\\\\(site=[a-z,_]*react_native[a-z,_]*\\\\)?)\\\\)?:? #[0-9]+\r\nsuppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowFixedInNextDeploy\r\nsuppress_comment=\\\\(.\\\\|\\n\\\\)*\\\\$FlowExpectedError\r\n\r\n[version]\r\n>=0.72.0\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/flow/issues/comments/394364845","html_url":"https://github.com/facebook/flow/issues/6365#issuecomment-394364845","issue_url":"https://api.github.com/repos/facebook/flow/issues/6365","id":394364845,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDM2NDg0NQ==","user":{"login":"zenz","id":301676,"node_id":"MDQ6VXNlcjMwMTY3Ng==","avatar_url":"https://avatars0.githubusercontent.com/u/301676?v=4","gravatar_id":"","url":"https://api.github.com/users/zenz","html_url":"https://github.com/zenz","followers_url":"https://api.github.com/users/zenz/followers","following_url":"https://api.github.com/users/zenz/following{/other_user}","gists_url":"https://api.github.com/users/zenz/gists{/gist_id}","starred_url":"https://api.github.com/users/zenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenz/subscriptions","organizations_url":"https://api.github.com/users/zenz/orgs","repos_url":"https://api.github.com/users/zenz/repos","events_url":"https://api.github.com/users/zenz/events{/privacy}","received_events_url":"https://api.github.com/users/zenz/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T14:00:22Z","updated_at":"2018-06-04T14:00:22Z","author_association":"NONE","body":"same here"}}
{"actor":{"display_login":"zenz"}}