亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

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 > [email protected]: ?  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 > [email protected]: Use uuid module instead[2/4] Fetching packages...error [email protected]: 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 [email protected]

  3. weex platform add ios 成功!


查看完整回答
反對 回復 2018-10-18
  • 2 回答
  • 0 關注
  • 1053 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號