Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

react-native run-ios时候报错 #1

Open
greatpie opened this issue Apr 26, 2017 · 5 comments
Open

react-native run-ios时候报错 #1

greatpie opened this issue Apr 26, 2017 · 5 comments

Comments

@greatpie
Copy link

Cannot read property 'on' of undefined
TypeError: Cannot read property 'on' of undefined
at Client.connect (/node_modules/._fb-watchman@1.9.2@fb-watchman/index.js:184:14)

我npm install之后跑run-ios的命令报错了。

@jsntjinjin
Copy link
Owner

应该是版本问题吧我这边是0.42.3
不知道你的rn版本是多少
如果缺这个,试试安装单独的module: npm install fb-watchman

@greatpie
Copy link
Author

更新了之后可以了

@greatpie
Copy link
Author

greatpie commented Apr 28, 2017

有一个地方,阅读器里面跳转到书籍详情那里的bookId写死了,每次都跳到同一本书。

_toBookDetail() {
        const {readPlatform} = this.props;
        this.props.navigator.push({
            name: 'bookDetail',
            component: BookDetail,
            params: {
                bookId: this.props.bookId//修改之后
            }
        })
    }

@jsntjinjin
Copy link
Owner

你重新pull一下就好了,阅读器重构了

@czzyw
Copy link

czzyw commented Dec 25, 2017

Desktop/readDome/simplereader/node_modules/react-native-root-siblings/lib/AppRegistryInjection.js`: Module does not exist in the module map or in these directories:

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

No branches or pull requests

3 participants