1. <tfoot id='GqwTM'></tfoot>
        <bdo id='GqwTM'></bdo><ul id='GqwTM'></ul>
    2. <legend id='GqwTM'><style id='GqwTM'><dir id='GqwTM'><q id='GqwTM'></q></dir></style></legend>

      <small id='GqwTM'></small><noframes id='GqwTM'>

      <i id='GqwTM'><tr id='GqwTM'><dt id='GqwTM'><q id='GqwTM'><span id='GqwTM'><b id='GqwTM'><form id='GqwTM'><ins id='GqwTM'></ins><ul id='GqwTM'></ul><sub id='GqwTM'></sub></form><legend id='GqwTM'></legend><bdo id='GqwTM'><pre id='GqwTM'><center id='GqwTM'></center></pre></bdo></b><th id='GqwTM'></th></span></q></dt></tr></i><div id='GqwTM'><tfoot id='GqwTM'></tfoot><dl id='GqwTM'><fieldset id='GqwTM'></fieldset></dl></div>

        语义ui的`gulp build`给出错误'ENOENT:没有这样的文

        时间:2023-05-29

        <small id='TlvZc'></small><noframes id='TlvZc'>

          <tbody id='TlvZc'></tbody>
        <legend id='TlvZc'><style id='TlvZc'><dir id='TlvZc'><q id='TlvZc'></q></dir></style></legend>
            <tfoot id='TlvZc'></tfoot>

            • <i id='TlvZc'><tr id='TlvZc'><dt id='TlvZc'><q id='TlvZc'><span id='TlvZc'><b id='TlvZc'><form id='TlvZc'><ins id='TlvZc'></ins><ul id='TlvZc'></ul><sub id='TlvZc'></sub></form><legend id='TlvZc'></legend><bdo id='TlvZc'><pre id='TlvZc'><center id='TlvZc'></center></pre></bdo></b><th id='TlvZc'></th></span></q></dt></tr></i><div id='TlvZc'><tfoot id='TlvZc'></tfoot><dl id='TlvZc'><fieldset id='TlvZc'></fieldset></dl></div>

                • <bdo id='TlvZc'></bdo><ul id='TlvZc'></ul>
                  本文介绍了语义ui的`gulp build`给出错误'ENOENT:没有这样的文件或目录'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  版本:

                  <块引用>

                  gulp@3.9.1

                  我已经通过 npm install 安装了 semantic-ui 并在交互式设置过程中给出了默认设置.

                  但是当我从 /semantic 文件夹中执行 gulp build 时,我收到以下错误:

                  [20:52:27] 开始构建"...构建语义[20:52:27] 开始'build-javascript'...构建 Javascript[20:52:27] 开始'build-css'...构建 CSS[20:52:27] 开始构建资产"...建筑资产[20:52:28] 创建:dist/components/site.js[20:52:28] 创建:dist/components/site.min.js[20:52:28] 创建:dist/components/form.js[20:52:28] 创建:dist/components/form.min.js[20:52:28] 创建:dist/components/accordion.js[20:52:28] 创建:dist/components/accordion.min.js[20:52:28] 创建:dist/components/checkbox.js[20:52:28] 创建:dist/components/dimmer.js[20:52:28] 创建:dist/components/checkbox.min.js[20:52:28] 创建:dist/components/dimmer.min.js[20:52:28] 创建:dist/components/dropdown.js[20:52:29] 创建:dist/components/embed.js[20:52:29] 创建:dist/components/dropdown.min.js[20:52:29] 创建:dist/components/reset.css[20:52:29] 创建:dist/components/reset.min.css[20:52:29] 创建:dist/components/modal.js[20:52:29] 创建:dist/components/embed.min.js[20:52:29] 创建:dist/components/modal.min.js

                  后来这个错误抛出

                  [20:52:31] 开始 'package uncompressed js'...[20:52:31] 4.23 秒后完成构建 JavaScript"[20:52:31] 创建:dist/components/container.min.css[20:52:31] 创建:dist/components/container.cssfs.js:839返回 binding.lstat(pathModule._makeLong(path));^错误:ENOENT:没有这样的文件或目录,lstat '/Users/venkat299/code/harvest_api/harvest_server/semantic/dist/components/semantic.min.js'

                  解决方案

                  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:

                  [20:52:27] Starting 'build'...
                  Building Semantic
                  [20:52:27] Starting 'build-javascript'...
                  Building Javascript
                  [20:52:27] Starting 'build-css'...
                  Building CSS
                  [20:52:27] Starting 'build-assets'...
                  Building assets
                  [20:52:28] Created: dist/components/site.js
                  [20:52:28] Created: dist/components/site.min.js
                  [20:52:28] Created: dist/components/form.js
                  [20:52:28] Created: dist/components/form.min.js
                  [20:52:28] Created: dist/components/accordion.js
                  [20:52:28] Created: dist/components/accordion.min.js
                  [20:52:28] Created: dist/components/checkbox.js
                  [20:52:28] Created: dist/components/dimmer.js
                  [20:52:28] Created: dist/components/checkbox.min.js
                  [20:52:28] Created: dist/components/dimmer.min.js
                  [20:52:28] Created: dist/components/dropdown.js
                  [20:52:29] Created: dist/components/embed.js
                  [20:52:29] Created: dist/components/dropdown.min.js
                  [20:52:29] Created: dist/components/reset.css
                  [20:52:29] Created: dist/components/reset.min.css
                  [20:52:29] Created: dist/components/modal.js
                  [20:52:29] Created: dist/components/embed.min.js
                  [20:52:29] Created: dist/components/modal.min.js
                  

                  Later this error throws up

                  [20:52:31] Starting 'package uncompressed js'...
                  [20:52:31] Finished 'build-javascript' after 4.23 s
                  [20:52:31] Created: dist/components/container.min.css
                  [20:52:31] Created: dist/components/container.css
                  fs.js:839
                    return binding.lstat(pathModule._makeLong(path));
                                   ^
                  
                  Error: ENOENT: no such file or directory, lstat '/Users/venkat299/code/harvest_api/harvest_server/semantic/dist/components/semantic.min.js'
                  

                  解决方案

                  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:没有这样的文件或目录'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:Gulp 不创建文件夹? 下一篇:如何调试 gulpfile.js

                  相关文章

                  最新文章

                  1. <small id='Q1zSa'></small><noframes id='Q1zSa'>

                  2. <i id='Q1zSa'><tr id='Q1zSa'><dt id='Q1zSa'><q id='Q1zSa'><span id='Q1zSa'><b id='Q1zSa'><form id='Q1zSa'><ins id='Q1zSa'></ins><ul id='Q1zSa'></ul><sub id='Q1zSa'></sub></form><legend id='Q1zSa'></legend><bdo id='Q1zSa'><pre id='Q1zSa'><center id='Q1zSa'></center></pre></bdo></b><th id='Q1zSa'></th></span></q></dt></tr></i><div id='Q1zSa'><tfoot id='Q1zSa'></tfoot><dl id='Q1zSa'><fieldset id='Q1zSa'></fieldset></dl></div>

                        <bdo id='Q1zSa'></bdo><ul id='Q1zSa'></ul>
                    1. <tfoot id='Q1zSa'></tfoot>
                    2. <legend id='Q1zSa'><style id='Q1zSa'><dir id='Q1zSa'><q id='Q1zSa'></q></dir></style></legend>