`gulp build` for semantic ui is giving error 'ENOENT: no such file or directory'

后端 未结 3 1433
梦毁少年i
梦毁少年i 2021-01-12 05:50

version:

gulp@3.9.1

I have installed semantic-ui through npm install and given default settings durin

相关标签:
3条回答
  • 2021-01-12 06:26

    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.

    0 讨论(0)
  • 2021-01-12 06:35

    Does adding "gulp-header": "1.8.2", to your package.json help?

    See https://github.com/miickel/gulp-angular-templatecache/issues/124.

    0 讨论(0)
  • 2021-01-12 06:36

    The solution that worked for me (by DaniVarga here) was this:

    npm uninstall gulp-header
    npm install gulp-header@1.8.2 --save
    

    ... then ...

    gulp build
    
    0 讨论(0)
提交回复
热议问题