Skip to content
This repository has been archived by the owner on May 13, 2019. It is now read-only.

报错,查看原因是 node版本高, 有不降node 版本的解决方案吗,谢谢 #256

Open
shijinwu opened this issue Jun 19, 2017 · 5 comments

Comments

@shijinwu
Copy link

报错,查看原因是 node版本高, 有不降node 版本的解决方案吗,谢谢

@cpunion
Copy link

cpunion commented Jun 19, 2017

我一直在 node@7 里使用,改 import * from 'react-web'import * from 'react-web/lib' 即可,或者在webpack里配置 alias: {"react-native": "react-web/lib"}

@shijinwu
Copy link
Author

非常感谢

@shijinwu
Copy link
Author

用了您的方法还是会 报这个错误: Path must be a string. Received undefined

@fov42550564
Copy link
Contributor

fov42550564 commented Jun 21, 2017

#257

@cpunion
Copy link

cpunion commented Jun 23, 2017

再用 @fov42550564 的方法可以解决,刚测试过了。我的项目是自己写的 webpack 配置所以没遇到问题。

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

No branches or pull requests

3 participants