为了账号安全,请及时绑定邮箱和手机立即绑定

Weex 开发环境安装失败

Weex 开发环境安装失败

慕码人8056858 2018-10-11 21:13:50
安装时报错$ yarn global add weex-toolkityarn global v1.2.1[1/4] Resolving packages...warning weex-toolkit > weex-builder > babel-preset-es2015@6.24.1: ?  Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!warning weex-toolkit > xtoolkit > dns > winston > request > node-uuid@1.4.8: Use uuid module instead[2/4] Fetching packages...error hawk@0.10.2: The engine "node" is incompatible with this module. Expectedversion "0.8.x".error Found incompatible moduleinfo Visit https://yarnpkg.com/en/docs/cli/global for documentation about this command.但是能正常初始化添加平台时$ weex platform add android   error: unknown option `--telemetry'请问如何解决?本机环境Win10 64node 8.9.3
查看完整描述

2 回答

?
MM们

TA贡献1886条经验 获得超2个赞

weex platform add anroid ---> android 吧

查看完整回答
反对 回复 2018-10-18
?
牛魔王的故事

TA贡献1830条经验 获得超3个赞

这个问题我也遇到了,我的解决办法是:

  1. 先安装 weexpack:cnpm install -g weexpack

  2. 然后根据提示,更新weexpack到1.0.18: weex update weexpack@1.0.18

  3. weex platform add ios 成功!


查看完整回答
反对 回复 2018-10-18
  • 2 回答
  • 0 关注
  • 970 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信