执行weex create app-name 的时候报错

执行 weex create 的创建项目的时候报错
错误如下

Downloading template from weex-templates/webpack repoundefined:253
    })
    ^
    
    SyntaxError: Unexpected token }
        at new Function (<anonymous>)
        at evaluate (/usr/local/lib/node_modules/weex-toolkit/node_modules/xtoolkit/lib/util/eval.js:10:14)
        at Socket.npm.stdout.on.data (/usr/local/lib/node_modules/weex-toolkit/node_modules/xtoolkit/lib/installer/npm_update_checker.js:55:19)
        at emitOne (events.js:116:13)
        at Socket.emit (events.js:211:7)
        at addChunk (_stream_readable.js:263:12)
        at readableAddChunk (_stream_readable.js:250:11)
        at Socket.Readable.push (_stream_readable.js:208:10)
        at Pipe.onread (net.js:607:20)

系统版本是 macos: 10.13.14, node: 8.11.1, npm: 5.6.0, 镜像用的 taobao的, 各种node 版本都试过

阅读 1.5k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进