-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot convert undefined or null to object #127
Comments
删了node_modules重新yarn install应该就好了。 |
我也遇到这个问题了,重新安装了也不行,好像两周前运行还是好的, |
今晚我看一下这个问题 |
我自己已经解决了,这个代码报错是在Category,js这个文件里面的91行,获取不到标签分类,根本原因是源代码里面的showapi过期了无法使用,自己showapi管网申请一个买一下把UrlUtils里面的密钥替换掉就好了。 |
居然已经过期了,看来我晚上要重新申请一下了……非常感谢 @chenai1512 |
接口怎么弄呢?一直不通 |
我发现这个接口从免费的变成收费的了……所以我的key没法用了。 |
ShowAPI was used by iReading from free to charge, so my key doesn't work. You could apply for a new key and replace in UrlUtil.js, it will work properly. I apologize to inconvenience you. |
我也遇到同样的问题 |
我刚开始接触,请教下怎么定位这种错误,从报错看就知道Category.js有问题@chenai1512 @Richard-Cao |
我注册ShowAP帐号,需要新建API吗。还是我也要付费后才能使用,能否提供一些更改KEY方面的指引,没用过ShowAPI |
这个API现在变成了付费才能使用了…… @Tim1437 |
showapi_appid:85481 |
@gejiashu 非常感谢!如果可以的话方便提个pr替换吗? |
已经提交了 @Richard-Cao |
@gejiashu 非常感谢! |
这个账号也不能用了,自己申请账号 里面的接口规范怎么维护了 |
心塞 |
请问,这个问题现在有好的解决办法了吗? |
我的账号失效了…… |
怎么用showapi 呢,我注册账号之后,怎么弄 |
直接购买 https://www.showapi.com/apiGateway/view?apiCode=582这个数据接口,用你自己的showapi_appid 和 showapi_sign 替换下面图片中的文件中对应的showapi_appid 和 showapi_sign 既可以解决: 注册一个账户 然后0.01元可以买1000次调用 用完了换个账户再买 我回头尝试下怎么使用mock的数据 绕过这个限制 |
项目运行是报错,报错信息
TypeError: Cannot convert undefined or null to object
This error is located at:
in Category (at CategoryContainer.js:48)
in CategoryContainer (created by Connect(CategoryContainer))
in Connect(CategoryContainer) (at SceneView.js:17)
in SceneView (at CardStack.js:455)
in RCTView (at View.js:60)
in View (at CardStack.js:454)
in RCTView (at View.js:60)
in View (at CardStack.js:453)
in RCTView (at View.js:60)
in View (at createAnimatedComponent.js:154)
in AnimatedComponent (at Card.js:12)
in Card (at PointerEventsContainer.js:39)
in Container (at CardStack.js:498)
in RCTView (at View.js:60)
in View (at CardStack.js:414)
in RCTView (at View.js:60)
in View (at CardStack.js:413)
in CardStack (at CardStackTransitioner.js:67)
in RCTView (at View.js:60)
in View (at Transitioner.js:142)
in Transitioner (at CardStackTransitioner.js:19)
in CardStackTransitioner (at StackNavigator.js:41)
in Unknown (at createNavigator.js:13)
in Navigator (at createNavigationContainer.js:226)
in NavigationContainer (at root.js:31)
in Provider (at root.js:30)
in Root (at renderApplication.js:33)
in RCTView (at View.js:60)
in View (at AppContainer.js:102)
in RCTView (at View.js:60)
in View (at AppContainer.js:122)
in AppContainer (at renderApplication.js:32)
另外从应用商店下载的应用ios端闪退android端首页白屏
The text was updated successfully, but these errors were encountered: