{"action":"created","issue":{"url":"https://api.github.com/repos/taobaofed/react-web/issues/74","repository_url":"https://api.github.com/repos/taobaofed/react-web","labels_url":"https://api.github.com/repos/taobaofed/react-web/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/taobaofed/react-web/issues/74/comments","events_url":"https://api.github.com/repos/taobaofed/react-web/issues/74/events","html_url":"https://github.com/taobaofed/react-web/issues/74","id":140079314,"number":74,"title":"Unable to resolve module ReactJsonp?","user":{"login":"rayliao","id":5601068,"avatar_url":"https://avatars.githubusercontent.com/u/5601068?v=3","gravatar_id":"","url":"https://api.github.com/users/rayliao","html_url":"https://github.com/rayliao","followers_url":"https://api.github.com/users/rayliao/followers","following_url":"https://api.github.com/users/rayliao/following{/other_user}","gists_url":"https://api.github.com/users/rayliao/gists{/gist_id}","starred_url":"https://api.github.com/users/rayliao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayliao/subscriptions","organizations_url":"https://api.github.com/users/rayliao/orgs","repos_url":"https://api.github.com/users/rayliao/repos","events_url":"https://api.github.com/users/rayliao/events{/privacy}","received_events_url":"https://api.github.com/users/rayliao/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-11T04:01:48Z","updated_at":"2016-03-24T01:50:26Z","closed_at":null,"body":"I'm trying example of movie.\r\n````\r\n+ DEST=/Users/LiaoYingRay/Library/Developer/Xcode/DerivedData/RNmovies-floigkrygboxgoayhhrfadmwqzsd/Build/Products/Debug-iphonesimulator/RNmovies.app\r\n\r\n\r\n+ '[' -z '' ']'\r\n\r\n\r\n+ export NVM_DIR=/Users/LiaoYingRay/.nvm\r\n\r\n\r\n+ NVM_DIR=/Users/LiaoYingRay/.nvm\r\n\r\n\r\n+ [[ -s /Users/LiaoYingRay/.nvm/nvm.sh ]]\r\n\r\n\r\n++ command -v brew\r\n\r\n\r\n+ [[ -x /usr/local/bin/brew ]]\r\n\r\n\r\n++ brew --prefix nvm\r\n\r\n\r\n+ [[ -s /usr/local/Cellar/nvm/0.29.0/nvm.sh ]]\r\n\r\n\r\n+ react-native bundle --entry-file index.ios.js --platform ios --dev true --bundle-output /Users/LiaoYingRay/Library/Developer/Xcode/DerivedData/RNmovies-floigkrygboxgoayhhrfadmwqzsd/Build/Products/Debug-iphonesimulator/RNmovies.app/main.jsbundle --assets-dest /Users/LiaoYingRay/Library/Developer/Xcode/DerivedData/RNmovies-floigkrygboxgoayhhrfadmwqzsd/Build/Products/Debug-iphonesimulator/RNmovies.app\r\n\r\n\r\nbundle: Created ReactPackager\r\n\r\n\r\nuncaught error Error: UnableToResolveError: Unable to resolve module ReactJsonp from /Users/LiaoYingRay/Projects/github/demo/RNmovies/SearchScreen.js: Invalid directory /Users/node_modules/ReactJsonp\r\n\r\n\r\n    at ResolutionRequest.js:351:15\r\n\r\n\r\n    at tryCallOne (/Users/LiaoYingRay/Projects/github/demo/RNmovies/node_modules/react-native/node_modules/promise/lib/core.js:37:12)\r\n\r\n\r\n    at /Users/LiaoYingRay/Projects/github/demo/RNmovies/node_modules/react-native/node_modules/promise/lib/core.js:123:15\r\n\r\n\r\n    at flush (/Users/LiaoYingRay/Projects/github/demo/RNmovies/node_modules/react-native/node_modules/promise/node_modules/asap/raw.js:50:29)\r\n\r\n\r\n    at doNTCallback0 (node.js:417:9)\r\n\r\n\r\n    at process._tickCallback (node.js:346:13)\r\n\r\n\r\nSee logs /var/folders/53/s7vfpx994bq379dcvh2j96r00000gn/T/react-packager.log\r\n\r\n\r\n    at SocketClient._handleMessage (SocketClient.js:139:23)\r\n\r\n\r\n    at BunserBuf.<anonymous> (SocketClient.js:53:42)\r\n\r\n\r\n    at emitOne (events.js:77:13)\r\n\r\n\r\n    at BunserBuf.emit (events.js:169:7)\r\n\r\n\r\n    at BunserBuf.process (/Users/LiaoYingRay/Projects/github/demo/RNmovies/node_modules/react-native/node_modules/bser/index.js:289:10)\r\n\r\n\r\n    at /Users/LiaoYingRay/Projects/github/demo/RNmovies/node_modules/react-native/node_modules/bser/index.js:244:12\r\n\r\n\r\n    at doNTCallback0 (node.js:417:9)\r\n\r\n\r\n    at process._tickCallback (node.js:346:13)\r\n\r\n\r\nCommand /bin/sh failed with exit code 1\r\n\r\n````"},"comment":{"url":"https://api.github.com/repos/taobaofed/react-web/issues/comments/200611479","html_url":"https://github.com/taobaofed/react-web/issues/74#issuecomment-200611479","issue_url":"https://api.github.com/repos/taobaofed/react-web/issues/74","id":200611479,"user":{"login":"rayliao","id":5601068,"avatar_url":"https://avatars.githubusercontent.com/u/5601068?v=3","gravatar_id":"","url":"https://api.github.com/users/rayliao","html_url":"https://github.com/rayliao","followers_url":"https://api.github.com/users/rayliao/followers","following_url":"https://api.github.com/users/rayliao/following{/other_user}","gists_url":"https://api.github.com/users/rayliao/gists{/gist_id}","starred_url":"https://api.github.com/users/rayliao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rayliao/subscriptions","organizations_url":"https://api.github.com/users/rayliao/orgs","repos_url":"https://api.github.com/users/rayliao/repos","events_url":"https://api.github.com/users/rayliao/events{/privacy}","received_events_url":"https://api.github.com/users/rayliao/received_events","type":"User","site_admin":false},"created_at":"2016-03-24T01:50:26Z","updated_at":"2016-03-24T01:50:26Z","body":"But I saw the example of Movies， The code `var fetch = Platform.OS === 'web'? require('ReactJsonp'): require('ReactFetch');` was in `SearchScreen.js` file."}}