weex-toolkit安装时遇到的一些坑

安装weex-toolkit时遇到坑如下

如果node及npm安装的是最新版本安装weex-toolkit时会遇到如下异常输出

Tried to download(undefined): https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.1.3/fse-v1.1.3-node-v64-darwin-x64.tar.gz 

Pre-built binaries not found for [email protected] and [email protected] (node-v64 ABI, unknown) (falling back to source compile with node-gyp)

ERR! node -v v10.14.2

node-gyp -v v3.8.0

not ok 

build error

node -v v10.14.2

node-pre-gyp -v v0.6.39

not ok 

解决办法卸载重装
 dhw@dhwdeMacBook-Pro  ~  node -v
v8.14.1
 dhw@dhwdeMacBook-Pro  ~  npm -v
6.4.1

本地如上版本安装weex-toolkit正常

你可能感兴趣的:(weex-toolkit安装时遇到的一些坑)