当我运行 npm run start
时,出现以下错误:
ERROR watchman --no-pretty get-sockname returned with exit code=1, signal=null, stderr= 2018-01-13T17:08:24,417: [0x7fff97db03c0] while computing sockname: failed to create /usr/local/var/run/watchman/11reed-state: No such file or directory
我运行得很好,但是我在捆绑 index.js 文件时遇到了错误,所以我卸载了 watchman 并重新安装,现在我遇到了这个错误。
最佳答案
我遇到了同样的错误,我按照以下步骤修复了它:
npm r -g watchman
brew更新&&brew升级
brew 安装 watchman
关于javascript - 当我运行 npm run start 时出现此错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48244842/