wangdicoder / react-native-gank Goto Github PK
View Code? Open in Web Editor NEWA cross platform App which shows the contents from gank.io
A cross platform App which shows the contents from gank.io
运行成功之后,进入app 出现了
Unknown named module:'react-native/Libraries/vendor/emitter/EventEmitter'
请问怎么解决?
Installing build/Build/Products/Debug-iphonesimulator/GankIO.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
就是我想远程连10.0.0.100:8081(我的机器)
非常抱歉,初学者
Unable to resolve module react-native/Libraries/vendor/emitter/EventEmitter from /Volumes/BOOTCAMP/react-native/react-native-Gank/node_modules/react-native-root-siblings/lib/AppRegistryInjection.js: Module does not exist in the module map or in these directories:
/Volumes/BOOTCAMP/react-native/react-native-Gank/node_modules/react-native/Libraries/vendor/emitter
我在您的项目里看到
dao.fetchLocalData(date).then((localData) => {
//Toast.show('local', {position: px2dp(-80)});
dispatch(receiveData(localData, date));
}, (localData) => {
//Toast.show('local', {position: px2dp(-80)});
dispatch(onlyFetchLocalData(getYesterdayFromDate(date)));
});
其中 (localData)有2个,这在代码中怎么执行的,谢谢。
node server Url is correctly set in appDelegate
while I execute
react-native run-android, occur it.
So I solved it by adding
@OverRide
public boolean canOverrideExistingModule(){
return true;
}
in source code : react-native-Gank\node_modules\react-native-vector-icons\android\src\main\java\com\oblador\vectoricons\VectorIconsModule.java.
Hope someone can get answer about the problem.
我写了个博客,可能会对大家有帮助,感谢作者的git库,使我收益匪浅,感谢哈。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.