-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
【2.0.6】每次编译报错 #5711
Comments
CC @Chen-jj |
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
1、cli 与项目依赖版本保持一致 |
@luckyadam 刚把cli和项目依赖都删掉重新install,依旧是如此,每次编译控制台报错。版本现在都是2.0.6;但查看报错js进去是这样的 |
@luckyadam 我这边又降回原来的版本2.0.4;回退版本后出现了新的问题......taro-ui用不了了 |
今天把1.x升级到2.0.6 遇到各种问题 把我难哭啦 我就弱弱的问一下2.x那个版本稳定 |
CC @luckyadam |
当前最新版本是 2.2.14,2.2.9 以上的版本变动已经很小了 |
问题描述
将taro升级到2.0.6后,每次编译都会报如下图的错,重新npm run dev:weapp又好了
复现步骤
将taro升级到2.0.6后,首次编译成功;重新编译就会在微信开发者工具控制台报错;再npm run dev:weapp后,报错就会消失,但稍微改动点代码,重新编译又会报同样的错误
期望行为
能够正常编译,不在控制台报错
报错信息
系统信息
Taro v2.0.6
Taro CLI 2.0.6 environment info:
System:
OS: macOS 10.14.6
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.13.0 - /usr/local/bin/node
npm: 6.4.1 - /usr/local/bin/npm
npmPackages:
@tarojs/components: 2.0.6 => 2.0.6
@tarojs/mini-runner: ^2.0.6 => 2.0.6
@tarojs/plugin-babel: 2.0.6 => 2.0.6
@tarojs/plugin-csso: 2.0.6 => 2.0.6
@tarojs/plugin-less: 2.0.6 => 2.0.6
@tarojs/plugin-sass: 2.0.6 => 2.0.6
@tarojs/plugin-uglifyjs: 2.0.6 => 2.0.6
@tarojs/redux: 2.0.6 => 2.0.6
@tarojs/redux-h5: 2.0.6 => 2.0.6
@tarojs/router: 2.0.6 => 2.0.6
@tarojs/taro: 2.0.6 => 2.0.6
@tarojs/taro-alipay: 2.0.6 => 2.0.6
@tarojs/taro-h5: 2.0.6 => 2.0.6
@tarojs/taro-weapp: 2.0.6 => 2.0.6
@tarojs/webpack-runner: 2.0.6 => 2.0.6
eslint-config-taro: 2.0.6 => 2.0.6
eslint-plugin-taro: 2.0.6 => 2.0.6
nervjs: ^1.5.6 => 1.5.6
补充信息
The text was updated successfully, but these errors were encountered: