ali322 / cnodern Goto Github PK
View Code? Open in Web Editor NEWYet another CNode React-Native App
Yet another CNode React-Native App
at File.parseCode (/Users//react-native/CNodeRN/node_modules/react-native/node_modules/babel-core/lib/transformation/file/index.js:603:20)
[23:28:27] request:/index.ios.bundle?platform=ios&dev=true&minify=false
[23:28:27] find dependencies
transformed 830/844 (98%)[node-haste] Encountered an error while persisting cache:
SyntaxError: /Users//react-native/CNodeRN/js/campus/updater.js: Unexpected token (53:0)
51 | const defaultStyles = StyleSheet.create(Object.assign({},stylesForAll))
52 |53 | @preferredThemer(defaultStyles)
| ^
54 | class Updater extends Component{
55 | constructor(props){
56 | super(props)
at Parser.pp.raise (/Users/react-native/CNodeRN/node_modules/react-native/node_modules/babylon/lib/parser/location.js:22:13)
at Parser.pp.unexpected (/Users//react-native/CNodeRN/node_modules/react-native/node_modules/babylon/lib/parser/util.js:89:8)
[info][tid:main][RCTCxxBridge.mm:186] Initializing <RCTCxxBridge: 0x6000001a2bc0> (parent: <RCTBridge: 0x6000000a9720>, executor: (null))
2017-10-11 11:44:56.564 [warn][tid:main][RCTBridge.m:114] Class RCTCxxModule was not exported. Did you forget to use RCT_EXPORT_MODULE()?
2017-10-11 11:44:58.730 [error][tid:com.facebook.react.JavaScript] undefined is not an object (evaluating 'React.PropTypes.func')
2017-10-11 11:44:58.732 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: undefined is not an object (evaluating 'React.PropTypes.func')
2017-10-11 11:44:58.742 [error][tid:com.facebook.react.JavaScript] this._lazyCallableModules[name] is not a function. (In 'this._lazyCallableModulesname', 'this._lazyCallableModules[name]' is undefined)
2017-10-11 11:44:58.745 [fatal][tid:com.facebook.react.ExceptionsManagerQueue] Unhandled JS Exception: this._lazyCallableModules[name] is not a function. (In 'this._lazyCallableModulesname', 'this._lazyCallableModules[name]' is undefined)
系统 6.0
android sdk :2.3.3
win10
运行 react-native run-android的时候报以下错误,
:react-native-code-push:generateReleaseResValues UP-TO-DATE
:react-native-code-push:generateReleaseResources UP-TO-DATE
:react-native-code-push:mergeReleaseResources UP-TO-DATE
:react-native-code-push:processReleaseManifest UP-TO-DATE
:react-native-code-push:processReleaseResources UP-TO-DATE
:react-native-code-push:generateReleaseSources UP-TO-DATE
:react-native-code-push:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:react-native-code-push:compileReleaseJavaWithJavac
:react-native-code-push:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
D:\rn\CNodeRN\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePush.java:291: 错误: 方法不会覆盖或实现超类型的方法
@OverRide
^
注: D:\rn\CNodeRN\node_modules\react-native-code-push\android\app\src\main\java\com\microsoft\codepush\react\CodePushNativeModule.java使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个错误
:react-native-code-push:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
BUILD FAILED
Total time: 14.639 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
hi, if I run it on a device, to switch scene between tabs becomes a bit slow. It might be redundant re-rendering when switching scene, how to maintain the scene when switch?
您好,我下载您的代码在ios模拟器上运行,可以看到首页的数据,但是整个app任何点击操作无反应,一段时间后Xcode提示程序崩溃,请问是什么原因呢?
npm ERR! Darwin 15.6.0
npm ERR! argv "/Users/sumingliang/.nvm/versions/node/v4.4.5/bin/node" "/Users/sumingliang/.nvm/versions/node/v4.4.5/bin/npm" "install"
npm ERR! node v4.4.5
npm ERR! npm v2.15.5
npm ERR! code EPEERINVALID
npm ERR! peerinvalid The package [email protected] does not satisfy its siblings' peerDependencies requirements!
npm ERR! peerinvalid Peer [email protected] wants react@~15.2.0
npm ERR! peerinvalid Peer [email protected] wants react@^0.14.0 || ^15.0.0-0
npm ERR! peerinvalid Peer [email protected] wants react@^15.3.0
npm ERR! peerinvalid Peer [email protected] wants react@^15.3.0
npm ERR! peerinvalid Peer [email protected] wants react@*
npm ERR! peerinvalid Peer [email protected] wants [email protected] || 0.14.x || ^15.0.0-0
FAILURE: Build failed with an exception.
Where:
Build file '/Users/sh/Documents/TempProject/CNodeRN/android/app/build.gradle' line: 102
What went wrong:
A problem occurred evaluating project ':app'.
Could not find property 'MYAPP_RELEASE_STORE_FILE' on SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPassword=null, storeType=null}.
我从应用市场下载下来的应用在Android手机上无法进入网络请求部分,一直停留在cnode logo页面。自己本地mac编译的软件在iphone模拟器上也是如此。麻烦有空看看是什么问题并修复一下,谢谢!
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.