React-Native例子启动报错

kangzhao 发布于 2015/09/22 21:20
阅读 2K+
收藏 0

按照网上的教程安装了react-native的环境,然后初始化了一个项目,启动时报错,求高手帮忙:

Looking for JS files in

   /Users/zhaokang/WorkSpace/React/PropertyFinder 

React packager ready.

[21:10:19] <START> Building Dependency Graph

[21:10:19] <START> Crawling File System

TypeError: Cannot read property 'root' of null

    at /Users/zhaokang/WorkSpace/React/PropertyFinder/node_modules/react-native/packager/react-packager/src/DependencyResolver/crawlers/index.js:16:84

    at tryCallOne (/Users/zhaokang/WorkSpace/React/PropertyFinder/node_modules/react-native/node_modules/promise/lib/core.js:37:12)

    at /Users/zhaokang/WorkSpace/React/PropertyFinder/node_modules/react-native/node_modules/promise/lib/core.js:103:15

    at flush (/Users/zhaokang/WorkSpace/React/PropertyFinder/node_modules/react-native/node_modules/promise/node_modules/asap/raw.js:50:29)

    at process._tickCallback (node.js:355:11)

[21:10:27] <START> request:/index.ios.bundle

[21:10:27] <START> find dependencies

加载中
返回顶部
顶部