react-native start 失败



  • 我按照教程上的来的,然后react-native start总是失败 不明白问题出现在哪里?有遇到同样的问题的嘛?帮忙指点一下:
    下面是报错的信息:
    ERROR watch /home/leon/RN/Dong ENOSPC
    {"code":"ENOSPC","errno":"ENOSPC","syscall":"watch /home/leon/RN/Dong","filename":"/home/leon/RN/Dong"}
    Error: watch /home/leon/RN/Dong ENOSPC
    at exports._errnoException (util.js:873:11)
    at FSWatcher.start (fs.js:1234:19)
    at Object.fs.watch (fs.js:1262:11)
    at NodeWatcher.watchdir (/home/leon/RN/Dong/node_modules/react-native/node_modules/sane/src/node_watcher.js:144:20)
    at new NodeWatcher (/home/leon/RN/Dong/node_modules/react-native/node_modules/sane/src/node_watcher.js:45:8)
    at FileWatcher._createWatcher (/home/leon/RN/Dong/node_modules/react-native/node_modules/node-haste/lib/FileWatcher/index.js:107:21)
    at /home/leon/RN/Dong/node_modules/react-native/node_modules/node-haste/lib/FileWatcher/index.js:54:20
    at Array.map (native)
    at new FileWatcher (/home/leon/RN/Dong/node_modules/react-native/node_modules/node-haste/lib/FileWatcher/index.js:53:39)
    at new Server (index.js:205:9)
    谢谢了!





  • 这个确实是可以的 谢谢你!请问一下你知道是什么原因导致这个问题的嘛?能方便告知一下。


登录后回复