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

Windows平台上问题汇总 #1

Closed
zavatar opened this issue Nov 30, 2015 · 1 comment
Closed

Windows平台上问题汇总 #1

zavatar opened this issue Nov 30, 2015 · 1 comment

Comments

@zavatar
Copy link

zavatar commented Nov 30, 2015

大家知道react-native对Windows平台的支持不是特别积极,在搭建本demo期间遇到的几个问题分享出来,以供探讨。avoscloud: 1.0.0-rc5, react-native: 0.13.2

  1. Watcher took too long to load 问题解决方案见 [android] windows npm start ERROR Watcher took too long to load facebook/react-native#2841
  2. react-native Packager不兼容Windows路径,导致package.json里的browser配置无效,以至于报错各种包require不到。解决方案见 node_modules\react-native\packager\react-packager\src\DependencyResolver\Package.js 的patch
    Package.js.txt
  3. classnames 包没有配置依赖。npm install classnames 装一下即可。
@leeyeh
Copy link

leeyeh commented Nov 30, 2015

3 是我们疏忽了,1、2 是 React Native 的 issue,感谢分享经验。

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

2 participants