Code Monkey home page Code Monkey logo

cnodern's People

Contributors

ali322 avatar chenli133 avatar monkeywithacupcake avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cnodern's Issues

SyntaxError @preferredThemer(defaultStyles)

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)

卡在欢迎界面 xcode报这个错

[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)

运行的时候报错,请问怎么解决

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.

  • What went wrong:
    Execution failed for task ':react-native-code-push:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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

ios版模拟器上运行崩溃

您好,我下载您的代码在ios模拟器上运行,可以看到首页的数据,但是整个app任何点击操作无反应,一段时间后Xcode提示程序崩溃,请问是什么原因呢?

dispatch is not defined

启动完成进入首页之后,下拉刷新。出现错误。

image
image

我把代码改成这样就没问题了。我是 RN 和 redux 的新手,请问这是个 bug 么?

image

依赖有冲突

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

Could not find property 'MYAPP_RELEASE_STORE_FILE' on SigningConfig_Decorated{name=release, storeFile=null, storePassword=null, keyAlias=null, keyPassword=null, storeType=null}

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模拟器上也是如此。麻烦有空看看是什么问题并修复一下,谢谢!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.