美文网首页
Weex之环境搭建

Weex之环境搭建

作者: RookieRun | 来源:发表于2019-03-01 15:54 被阅读0次

    1.安装node(https://nodejs.org/en/download/
    2.安装weex-toolkit
    注意:安装weex-toolkit时,别安装最新的,要不然会报一个叫做:

    TypeError: Cannot read property 'IOSDevices' of undefined
        at Command.run (/Users/rookie/.wx/modules/node_modules/_@weex-cli_run@2.0.0-beta.1@@weex-cli/run/commands/run.js:36:33)
        at Runtime.<anonymous> (/Users/rookie/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.1@@weex-cli/core/src/runtime/run.ts:62:43)
        at Generator.next (<anonymous>)
        at <anonymous> (/Users/rookie/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.1@@weex-cli/core/lib/runtime/run.js:7:71)
        at Promise (<anonymous>)
        at __awaiter (/Users/rookie/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.1@@weex-cli/core/lib/runtime/run.js:3:12)
        at Runtime.run (/Users/rookie/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.1@@weex-cli/core/lib/runtime/run.js:23:12)
        at Cli.<anonymous> (/Users/rookie/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.1@@weex-cli/core/src/cli/cli.ts:316:44)
        at Generator.next (<anonymous>)
        at fulfilled (/Users/rookie/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.1@@weex-cli/core/lib/cli/cli.js:4:58)
        at <anonymous>
    

    的错误,据说是最新版本的问题
    3.weex环境都需要安装哪些文件,都是干嘛的?

    相关文章

      网友评论

          本文标题:Weex之环境搭建

          本文链接:https://www.haomeiwen.com/subject/fxgduqtx.html