-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
启动报错 #510
Comments
@DexSinis tsx 文件没有生成对应的 js 文件,可以直接在 命令行运行 或者先运行 |
解决了,但是我在我原来的工程里面引入 ant-design-mobile { npm install 后 引入你们官方tabbar例子 https://mobile.ant.design/components/tab-bar/ import React,{Component} from 'react' import { TabBar } from 'antd-mobile'; 报错 This might be related to facebook/react-native#4968 |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
xcode7.3.1 node6.5.0
你做了什么?
按照官方教程 git clone 工程之后 执行 npm install之后 在xcode中 启动工程,报错
Unable to resolve module ../components/notice-bar/demo/basic from /Users/a000/Documents/React/ant-design-mobile/rn-kitchen-sink/demoList.js: Unable to find this module in its module map or any of the node_modules directories under /Users/a000/Documents/React/ant-design-mobile/components/notice-bar/demo/basic and its parent directories
This might be related to facebook/react-native#4968
To resolve try the following:
watchman watch-del-all
.node_modules
folder:rm -rf node_modules && npm install
.rm -fr $TMPDIR/react-*
ornpm start -- --reset-cache
.RCTFatal + 124
-[RCTBatchedBridge stopLoadingWithError:] + 1140
__25-[RCTBatchedBridge start]_block_invoke_2 + 76
_dispatch_call_block_and_release + 24
_dispatch_client_callout + 16
_dispatch_main_queue_callback_4CF + 2096
+ 12
+ 1628
CFRunLoopRunSpecific + 384
GSEventRunModal + 180
UIApplicationMain + 204
main + 124
+ 4
你期待的结果是:
像官网一样正常显示
实际上的结果:
报错
可重现的在线演示
The text was updated successfully, but these errors were encountered: