Skip to content
This repository has been archived by the owner on Jun 6, 2019. It is now read-only.

weex create 报错 #86

Closed
wqjGitHub opened this issue Mar 8, 2019 · 2 comments
Closed

weex create 报错 #86

wqjGitHub opened this issue Mar 8, 2019 · 2 comments

Comments

@wqjGitHub
Copy link

weex 2.0.0-beta.4 创建项目:weex create e 错误
TypeError: Cannot read property 'error' of null
at Cli. (/Users//.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.4@@weex-cli/core/src/cli/cli.ts:188:17)
at Generator.next ()
at fulfilled (/Users/
/.wx/core/node_modules/_@weex-cli_core@2.0.0-beta.4@@weex-cli/core/lib/cli/cli.js:4:58)
at process._tickCallback (internal/process/next_tick.js:68:7)

@erha19
Copy link

erha19 commented Mar 8, 2019

@wqjGitHub try weex repair @weex-cli/generator, then try it again. If it doesn't work, run weex -v to show your cli version to me.

@erha19
Copy link

erha19 commented Mar 11, 2019

@wqjGitHub also you can upgrade your weex-toolkit version by npm i weex-toolkit@beta -g, the latest version can handler this error correctly.

@erha19 erha19 transferred this issue from apache/incubator-weex-cli Mar 11, 2019
@erha19 erha19 closed this as completed Mar 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants