Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译后运行报错Cannot read property 'Provider' of undefined #16

Open
sunchenguang opened this issue Oct 16, 2019 · 0 comments
Open

Comments

@sunchenguang
Copy link

原因

  1. 本地全局的taro-cli版本和项目package.json中所用的taro版本不一致。

解决方案

  1. taro-cli, 及项目中的taro都升级到最新版本
本地任意目录
taro update self

项目taro-demo/client目录
taro update project

参考链接 https://nervjs.github.io/taro/docs/GETTING-STARTED.html#%E5%B8%B8%E7%94%A8-cli-%E5%91%BD%E4%BB%A4

此问题解决后,还是会报其他错误,但是应该都是代码层面的,慢慢来解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant