Skip to content
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

运行报错. #50

Open
shaoting0730 opened this issue Jun 12, 2017 · 12 comments
Open

运行报错. #50

shaoting0730 opened this issue Jun 12, 2017 · 12 comments

Comments

@shaoting0730
Copy link

npm 启动到99%时,报错:

请问这是何故?
2017-06-12 3 16 57

@charlesYun
Copy link

@pheromone 我的错误和你一模一样,请问怎么解决的

@shaoting0730
Copy link
Author

无解 @caoyunxiao

@mf168
Copy link

mf168 commented Jun 16, 2017

@pheromone 同问 。。。

@bighanber
Copy link

我是把node_modules\react-native-scrollable-tab-view\DefaultTabBar,ScrollableTabBar,index里面的ViewPropTypes改成了View.propTypes,不知道这样对不对

@shaoting0730
Copy link
Author

@bighanber 请问这样改可以运行吗?

@bighanber
Copy link

@pheromone 反正没报错了,但是里面的内容很奇怪

@AlsaceGH
Copy link

hi, guys, flow these:
Step1
cd node_modules\react-native-scrollable-tab-view, change ViewPropTypes to
View.propTypes in DefaultTabBar, ScrollableTabBar and index
Step2
npm install --save [email protected]
if you have any other questions, please use node v5.2.0 or higher version(nvm could perfectly
resolve it).
Enjoy it!

@yatessss
Copy link

@AlsaceGH 按上述步骤操作后 ,还提示:Unrecognized font family "ionicons"

参考:https://github.com/oblador/react-native-vector-icons#option-manually 在xcode工程中把字体拖到相应目录下~ ok~

@PengJuWang
Copy link

还是不能解决呀

@DevaLee
Copy link

DevaLee commented Jun 27, 2017

@AlsaceGH it does not work

@rzdong
Copy link

rzdong commented Jun 29, 2017

I follow @AlsaceGH suggestion, and use "npm install [email protected]“ from 0.6.0.
succeed.(android 6.0)
this blog http://blog.csdn.net/xcx0215/article/details/72221602

按照AlsaceGH的步骤,改掉驼峰写法。再把插件版本升高。应该就可以了。如果期间出现不能发现某某字体,ttf结尾的。就把react-native-vector-icons这个包下的fonts字体放在提示错误的地方。

@emilyzfive
Copy link

参照@yatessss的方案解决了,虽然会有warning,但是终于不报红了。。。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants