{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/3817","labels_url":"https://api.github.com/repos/facebook/react-native/issues/3817/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/3817/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/3817/events","html_url":"https://github.com/facebook/react-native/issues/3817","id":114444951,"number":3817,"title":"Invalid directory /Users/node_modules/Dimensions","user":{"login":"urbanappetite","id":162989,"avatar_url":"https://avatars.githubusercontent.com/u/162989?v=3","gravatar_id":"","url":"https://api.github.com/users/urbanappetite","html_url":"https://github.com/urbanappetite","followers_url":"https://api.github.com/users/urbanappetite/followers","following_url":"https://api.github.com/users/urbanappetite/following{/other_user}","gists_url":"https://api.github.com/users/urbanappetite/gists{/gist_id}","starred_url":"https://api.github.com/users/urbanappetite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urbanappetite/subscriptions","organizations_url":"https://api.github.com/users/urbanappetite/orgs","repos_url":"https://api.github.com/users/urbanappetite/repos","events_url":"https://api.github.com/users/urbanappetite/events{/privacy}","received_events_url":"https://api.github.com/users/urbanappetite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-01T01:56:13Z","updated_at":"2015-11-01T04:36:00Z","closed_at":null,"body":"Hi,\r\n\r\nI've just started using 0.14.0-rc and migrated from an early version. I opted to stop using CocoaPods and go it \"alone\" instead.\r\n\r\nThe directory structure is setup as per the result of \"react-native init\":\r\n\r\n- android\r\n- ios\r\n- index.ios.js\r\n- index.android.js\r\n- node_modules\r\n- package.son\r\n\r\nEverything on the Obj-C side builds and runs in the iOS simulator\r\n\r\nReact native is giving the following error however:\r\n\r\nError while loading: Unable to resolve module Dimensions from any_npm_module: Invalid directory /Users/node_modules/Dimensions\r\n\r\nClearly that's an odd place to be looking for the module...\r\n\r\nI'm digging into the code but has anyone any pointers?\r\n\r\nThanks\r\n\r\nLuke"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/152793622","html_url":"https://github.com/facebook/react-native/issues/3817#issuecomment-152793622","issue_url":"https://api.github.com/repos/facebook/react-native/issues/3817","id":152793622,"user":{"login":"urbanappetite","id":162989,"avatar_url":"https://avatars.githubusercontent.com/u/162989?v=3","gravatar_id":"","url":"https://api.github.com/users/urbanappetite","html_url":"https://github.com/urbanappetite","followers_url":"https://api.github.com/users/urbanappetite/followers","following_url":"https://api.github.com/users/urbanappetite/following{/other_user}","gists_url":"https://api.github.com/users/urbanappetite/gists{/gist_id}","starred_url":"https://api.github.com/users/urbanappetite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urbanappetite/subscriptions","organizations_url":"https://api.github.com/users/urbanappetite/orgs","repos_url":"https://api.github.com/users/urbanappetite/repos","events_url":"https://api.github.com/users/urbanappetite/events{/privacy}","received_events_url":"https://api.github.com/users/urbanappetite/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T04:36:00Z","updated_at":"2015-11-01T04:36:00Z","body":"...I can change the library to use import { Dimensions } from 'react-native' but as it used to work and I couldn't find any mention of this being a breaking change require('Dimensions') should be allowed to work."}}