le0zh's blog

//DON'T PANIC

主页 归档
2016-01-14
react-native

react-native在windows下Watcher took too long to load的错误解决

问题:

在windows下,使用react-native init projectname之后,使用react-native start命令,过一段时间之后,报错误如下:

截图

解决办法:

参考:
http://facebook.github.io/react-native/docs/linux-windows-support.html#content

打开文件
node_modules\react-native\packager\react-packager\src\FileWatcher\index.js

增加等待时间,我这里是加了个0。

截图

保存之后再运行react-native start

截图

Share
  • javascript
  • react-native
Newer
react-native中navigator的基本使用
Older
在ES6函数中模拟必选参数

Categories

  • exception1
  • game3
  • javascript28
  • myproject1
  • nodejs2
  • react1
  • react-native8
  • tools4
  • windows1
  • 问题记录1
  • 随笔1

Tags

  • ES61
  • cmd1
  • dva1
  • es62
  • express1
  • javascript21
  • jstips13
  • myproject1
  • nodejs1
  • npm1
  • react6
  • react-native16
  • sublimetext1
  • tips1
  • tools2
  • unity3
  • vscode1
  • windows1
  • you-dont-know-js1
  • 个人1

Tag Cloud

ES6 cmd dva es6 express javascript jstips myproject nodejs npm react react-native sublimetext tips tools unity vscode windows you-dont-know-js 个人

Archives

  • September 20171
  • August 20171
  • July 20171
  • June 20172
  • May 20172
  • March 20172
  • January 20173
  • December 20163
  • November 20162
  • October 20162
  • September 20162
  • June 20164
  • April 20166
  • March 20165
  • February 20163
  • January 201612

Recents

  • dva框架学习--Subscription订阅
  • vscode插件:正则表达式预览
  • 你可能不知道的try...finally
  • 写一个尽可能完善的Function.prototype.bind方法
  • 使用ReactNative开发的gitbook阅读器
© 2017 le0zh
Powered by Hexo
主页 归档