在linux虚拟机里 成功安装了wepy,但是他的编译功能有点鸡肋,每次都要重新build,因此想在win主机上安装wepy,执行 yarn global add wepy-cli
之后,提示
yarn global v1.5.1
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@1.2.4: The platform "win32" is incompatible with this module.
info "fsevents@1.2.4" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "wepy-cli@1.7.2" with binaries:
- wepy
Done in 4.53s.
也就是不兼容win32,。我的系统是win7 旗舰版64位的。。
github 搜索 tencent/wepy 根据里面引导,用 NPM 去安装。。不能用yarn