Ember找不到守望者
Ember failed to find watchman
当我 运行 ember test
我得到这个
Could not start watchman
我可以确认我已经安装了 watchman,当我 运行 which -a watchman
时,我得到
/usr/local/bin/watchman
我是不是漏掉了什么?
仅供参考
ember -v
return
ember-cli: 2.15.1
node: 8.6.0
os: linux x64
尝试重新安装 watchman
$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0 # the latest stable release
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
更多信息here
现在,上述过程在 macOS 上的步骤 make
中失败并出现错误 bser.cpp:345:17: error: offset of on non-standard-layout type 'json_object_t',由于 xcode 升级问题,刚刚升级到 10.15.6 catalina,cmdline 工具 Apple clang version 12.0.0 (clang-1200.0.32.2)
使用 these changes 进行修补后,可以成功安装 watchman tagedg v4.9.0
当我 运行 ember test
我得到这个
Could not start watchman
我可以确认我已经安装了 watchman,当我 运行 which -a watchman
时,我得到
/usr/local/bin/watchman
我是不是漏掉了什么?
仅供参考
ember -v
return
ember-cli: 2.15.1
node: 8.6.0
os: linux x64
尝试重新安装 watchman
$ git clone https://github.com/facebook/watchman.git
$ cd watchman
$ git checkout v4.9.0 # the latest stable release
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
更多信息here
现在,上述过程在 macOS 上的步骤 make
中失败并出现错误 bser.cpp:345:17: error: offset of on non-standard-layout type 'json_object_t',由于 xcode 升级问题,刚刚升级到 10.15.6 catalina,cmdline 工具 Apple clang version 12.0.0 (clang-1200.0.32.2)
使用 these changes 进行修补后,可以成功安装 watchman tagedg v4.9.0