`gulp build` for semantic ui is giving error #39;ENOENT: no such file or directory#39;(语义ui的`gulp build`给出错误ENOENT:没有这样的文件或目录)
问题描述
版本:
<块引用>gulp@3.9.1
我已经通过 npm install
安装了 semantic-ui
并在交互式设置过程中给出了默认设置.
但是当我从 /semantic
文件夹中执行 gulp build
时,我收到以下错误:
后来这个错误抛出
gulp-header 1.8.3
存在问题.
https://github.com/tracker1/gulp-header/issues/37p>
将 "gulp-header": "1.8.2"
直接添加到您的 package.json
中就可以了.
从版本号中删除 ^
如果它已经存在,它会将您推到下一个 minor
版本,这将导致问题.
version:
gulp@3.9.1
I have installed semantic-ui
through npm install
and given default settings during interactive setup process.
But when i do gulp build
from the /semantic
folder i am getting following error:
Later this error throws up
There is an issue with gulp-header 1.8.3
causing this.
https://github.com/tracker1/gulp-header/issues/37
Add "gulp-header": "1.8.2"
directly to your package.json
and you should be fine.
Remove the ^
from the version number if it's already there, it pushes you up to the next minor
version, which will cause the problem.
这篇关于语义ui的`gulp build`给出错误'ENOENT:没有这样的文件或目录'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!