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

更新最新依赖包后 Sass Task 报错 #16

Closed
3 tasks done
kayo5994 opened this issue Jan 4, 2018 · 1 comment
Closed
3 tasks done

更新最新依赖包后 Sass Task 报错 #16

kayo5994 opened this issue Jan 4, 2018 · 1 comment

Comments

@kayo5994
Copy link
Collaborator

kayo5994 commented Jan 4, 2018

运行环境

  • 操作系统版本:macOS (10.13.1)
  • QMUI Web 版本:3.0.0
  • Node.js 版本:7.8.0

具体问题描述

清空 node_modules 缓存,重新执行 npm i 后,执行默认任务报错“TypeError: file.isSymbolic is not a function”,具体堆栈如下图。

问题截图

image

@kayo5994
Copy link
Collaborator Author

kayo5994 commented Jan 4, 2018

在 gulp@4.0.0-alpha.3 中,不再对 gulp-util 进行支持,原因是 gulp-util 依赖了 6,752 modules,gulp 认为 gulp-util 过于混乱。而在 gulp-util 依赖的这些模块中,大量使用了 Vinyl,因 Vinyl 的接口变更最终导致 gulp@4.0.0-alpha.3 产生大量的运行失败,详细可参考:gulpjs/gulp#2065

目前官方已经在最新版本中进行了修复,但仍不建议继续使用 gulp-util,在最新代码中,QMUI Web 跟随 gulp 升级至最新版本,并废弃了对 gulp-util 的依赖,因此不再会产生上述问题。

@kayo5994 kayo5994 closed this as completed Jan 4, 2018
@kayo5994 kayo5994 reopened this Jan 4, 2018
kayo5994 added a commit to QMUI/QMUIDemo_Web that referenced this issue Jan 4, 2018
kayo5994 added a commit to QMUI/QMUIDemo_Web that referenced this issue Jan 4, 2018
kayo5994 added a commit that referenced this issue Jan 4, 2018
@kayo5994 kayo5994 closed this as completed Jan 4, 2018
kayo5994 added a commit that referenced this issue Apr 4, 2019
DsCodeStudioxhpott added a commit to DsCodeStudioxhpott/kongqws that referenced this issue Apr 27, 2022
DsCodeStudioxhpott added a commit to DsCodeStudioxhpott/kongqws that referenced this issue Apr 27, 2022
DsCodeStudioxhpott added a commit to DsCodeStudioxhpott/kongqws that referenced this issue Apr 27, 2022
DsCodeStudioxhpott added a commit to DsCodeStudioxhpott/kongqws that referenced this issue Apr 27, 2022
DsCodeStudioxhpott added a commit to DsCodeStudioxhpott/kongqws that referenced this issue Apr 27, 2022
leeokdkpvv5c added a commit to leeokdkpvv5c/aliyunh that referenced this issue Apr 27, 2022
leeokdkpvv5c added a commit to leeokdkpvv5c/aliyunh that referenced this issue Apr 27, 2022
leeokdkpvv5c added a commit to leeokdkpvv5c/aliyunh that referenced this issue Apr 27, 2022
leeokdkpvv5c added a commit to leeokdkpvv5c/aliyunh that referenced this issue Apr 27, 2022
leeokdkpvv5c added a commit to leeokdkpvv5c/aliyunh that referenced this issue Apr 27, 2022
snapbakkhfbav added a commit to snapbakkhfbav/eastbanctechru that referenced this issue Oct 6, 2022
snapbakkhfbav added a commit to snapbakkhfbav/eastbanctechru that referenced this issue Oct 6, 2022
snapbakkhfbav added a commit to snapbakkhfbav/eastbanctechru that referenced this issue Oct 6, 2022
snapbakkhfbav added a commit to snapbakkhfbav/eastbanctechru that referenced this issue Oct 6, 2022
snapbakkhfbav added a commit to snapbakkhfbav/eastbanctechru that referenced this issue Oct 6, 2022
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