{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/reactxp/issues/57","repository_url":"https://api.github.com/repos/Microsoft/reactxp","labels_url":"https://api.github.com/repos/Microsoft/reactxp/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/reactxp/issues/57/comments","events_url":"https://api.github.com/repos/Microsoft/reactxp/issues/57/events","html_url":"https://github.com/Microsoft/reactxp/issues/57","id":222621292,"number":57,"title":"Importing react-native results in errors","user":{"login":"simonghales","id":5101649,"avatar_url":"https://avatars3.githubusercontent.com/u/5101649?v=3","gravatar_id":"","url":"https://api.github.com/users/simonghales","html_url":"https://github.com/simonghales","followers_url":"https://api.github.com/users/simonghales/followers","following_url":"https://api.github.com/users/simonghales/following{/other_user}","gists_url":"https://api.github.com/users/simonghales/gists{/gist_id}","starred_url":"https://api.github.com/users/simonghales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonghales/subscriptions","organizations_url":"https://api.github.com/users/simonghales/orgs","repos_url":"https://api.github.com/users/simonghales/repos","events_url":"https://api.github.com/users/simonghales/events{/privacy}","received_events_url":"https://api.github.com/users/simonghales/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-04-19T05:15:03Z","updated_at":"2017-04-19T05:41:49Z","closed_at":null,"body":"Hey there,\r\n\r\nApologies as this issue might not be specifically due to ReactXP, but I'm building upon the Hello World example and when I import react-native I'm getting a series of errors:\r\n\r\n`const ReactNative: any = require('react-native');`\r\n_(importing it as any temporarily to avoid issues I was having with the typings files)_\r\n\r\n```\r\nERROR in ./~/react-native/Libraries/react-native/react-native.js\r\nModule not found: Error: Can't resolve 'ActivityIndicator' in '/Users/surfacepro/WebstormProjects/hydric-noodles-reactxp/node_modules/react-native/Libraries/react-native'\r\n @ ./~/react-native/Libraries/react-native/react-native.js 30:35-63\r\n @ ./src/App.tsx\r\n @ ./src/index.tsx\r\n\r\nERROR in ./~/react-native/Libraries/react-native/react-native.js\r\nModule not found: Error: Can't resolve 'ReactNativeART' in '/Users/surfacepro/WebstormProjects/hydric-noodles-reactxp/node_modules/react-native/Libraries/react-native'\r\n @ ./~/react-native/Libraries/react-native/react-native.js 31:21-46\r\n @ ./src/App.tsx\r\n @ ./src/index.tsx\r\n```\r\n\r\netc..\r\n\r\nIt would seem that if I open up `node_modules/react-native/Libraries/react-native/react-native.js` every single `require('...')` within the file is unable to resolve itself. I'm a bit uncertain about how to fix it up so that all the requires are able to resolve themselves.\r\n\r\nApologies again that this isn't about ReactXP itself, but I figured it'd be pretty common for somebody to continue on from the example project and try to implement some React Native components. So thank you if anyone is able to offer any suggestions on how to address the issue."},"comment":{"url":"https://api.github.com/repos/Microsoft/reactxp/issues/comments/295104821","html_url":"https://github.com/Microsoft/reactxp/issues/57#issuecomment-295104821","issue_url":"https://api.github.com/repos/Microsoft/reactxp/issues/57","id":295104821,"user":{"login":"simonghales","id":5101649,"avatar_url":"https://avatars3.githubusercontent.com/u/5101649?v=3","gravatar_id":"","url":"https://api.github.com/users/simonghales","html_url":"https://github.com/simonghales","followers_url":"https://api.github.com/users/simonghales/followers","following_url":"https://api.github.com/users/simonghales/following{/other_user}","gists_url":"https://api.github.com/users/simonghales/gists{/gist_id}","starred_url":"https://api.github.com/users/simonghales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonghales/subscriptions","organizations_url":"https://api.github.com/users/simonghales/orgs","repos_url":"https://api.github.com/users/simonghales/repos","events_url":"https://api.github.com/users/simonghales/events{/privacy}","received_events_url":"https://api.github.com/users/simonghales/received_events","type":"User","site_admin":false},"created_at":"2017-04-19T05:41:49Z","updated_at":"2017-04-19T05:41:49Z","body":"I thought it had fixed the issue, but I'm still getting the errors."}}
{"actor":{"display_login":"simonghales"}}