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

@tarojs/cli 1.3.0-beta.5 编译报错 h5版本 #18

Closed
ppbl opened this issue May 30, 2019 · 9 comments
Closed

@tarojs/cli 1.3.0-beta.5 编译报错 h5版本 #18

ppbl opened this issue May 30, 2019 · 9 comments

Comments

@ppbl
Copy link

ppbl commented May 30, 2019

更新到最新版本, 编辑报错
image
退回到 1.2.26 就可以了。

@ppbl ppbl changed the title @tarojs/cli 1.3.0-beta.5 编译报错 \(^o^) h5版本 @tarojs/cli 1.3.0-beta.5 编译报错 h5版本 May 30, 2019
@ppbl
Copy link
Author

ppbl commented May 31, 2019

@xioxin 能帮忙看下吗 谢谢 ~

@xioxin
Copy link
Owner

xioxin commented May 31, 2019

正在尝试解决

@ppbl
Copy link
Author

ppbl commented May 31, 2019

找到具体一点的原因了, 是因为 @tarojs/webpack-runner 的版本问题,这个降到1.2版本的话就可以。

@xioxin
Copy link
Owner

xioxin commented May 31, 2019

NervJS@7604ac8

@xioxin
Copy link
Owner

xioxin commented May 31, 2019

看来是 f2 和 @tarojs/webpack-runner 冲突

@liuyang1106
Copy link

找到具体一点的原因了, 是因为 @tarojs/webpack-runner 的版本问题,这个降到1.2版本的话就可以。

请教一下这个问题怎么解决的

@xioxin
Copy link
Owner

xioxin commented May 31, 2019

暂时是修改 package.json 文件 "@tarojs/webpack-runner": "1.2.27-beta.0"
重新npm install

如果确定是这两者兼容问题的话,只能反馈给taro看看怎么处理。

@liuyang1106
Copy link

我这里依旧是不行的,当我更新@tarojs/webpack-runner的时候,就会报错找不到@babel-core,在安装@babel-core的时候的版本不支持

@ppbl
Copy link
Author

ppbl commented Jun 1, 2019

@liuyang1106 把 @tarojs/webpack-runner 降到 1.2.26 然后 删除 node_modules 和 yarn.lock 重新安装 我这边是可以的

@ppbl ppbl closed this as completed Mar 15, 2021
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

3 participants