font-awesome CSS comments evaluated as regex on gulp buildUsing regex to extract specific fields from css,...

Is it logically or scientifically possible to artificially send energy to the body?

I would say: "You are another teacher", but she is a woman and I am a man

CAST throwing error when run in stored procedure but not when run as raw query

Venezuelan girlfriend wants to travel the USA to be with me. What is the process?

Why can't we play rap on piano?

Which is the best way to check return result?

One verb to replace 'be a member of' a club

Would Slavery Reparations be considered Bills of Attainder and hence Illegal?

What does “the session was packed” mean in this context?

What do you call someone who asks many questions?

Could the museum Saturn V's be refitted for one more flight?

Is "remove commented out code" correct English?

What's the in-universe reasoning behind sorcerers needing material components?

Size of subfigure fitting its content (tikzpicture)

Am I breaking OOP practice with this architecture?

How badly should I try to prevent a user from XSSing themselves?

Should I tell management that I intend to leave due to bad software development practices?

What exploit Are these user agents trying to use?

Is it possible to create a QR code using text?

Can a virus destroy the BIOS of a modern computer?

Plagiarism or not?

How to tell a function to use the default argument values?

What is the idiomatic way to say "clothing fits"?

How seriously should I take size and weight limits of hand luggage?



font-awesome CSS comments evaluated as regex on gulp build


Using regex to extract specific fields from css, using notepad++CSS needed change font size items in bookmarks toolbar folderCSS is not working in chrome Version 73.0.3683.86 (Official Build) (64-bit)













0















When I run gulp in my project I get an error:



/Users/*/*/bower_components/font-awesome/css/font-awesome.css:1:2: error: regular expressions cannot begin with *
/*


The '/*' in question refers to a CSS block comment. Here is a relevant portion of my gulpfile. (I can't post the rest, but it follows a similar process for the other files.):



const styleFilter = '**/*.{css,less}';

let paths = [ ]

const filePaths = {
publicCss: "./_public/css",
srcStyles: "./assets/styles/*.*",

srcFontAwesome: "./bower_components/font-awesome/css/font-awesome.css"
};

gulp.task('styles', function() {
paths.push(filePaths.srcStyles);
return gulp.src(paths)
.pipe(plumber())
.pipe(ignore.include(styleFilter))
.pipe(less())
.pipe(minifyCss())
.pipe(concat('app.css'))
.pipe(gulp.dest(filePaths.publicCss));
});


I'm just looking for hints as to what might be the issue. I suspect it has something to do with versioning conflicts between Node.js and some other gulp things, but I've never used gulp before.



  node -v: 6.17.0

  gulp -v: 3.8.11










share|improve this question









New contributor




qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    When I run gulp in my project I get an error:



    /Users/*/*/bower_components/font-awesome/css/font-awesome.css:1:2: error: regular expressions cannot begin with *
    /*


    The '/*' in question refers to a CSS block comment. Here is a relevant portion of my gulpfile. (I can't post the rest, but it follows a similar process for the other files.):



    const styleFilter = '**/*.{css,less}';

    let paths = [ ]

    const filePaths = {
    publicCss: "./_public/css",
    srcStyles: "./assets/styles/*.*",

    srcFontAwesome: "./bower_components/font-awesome/css/font-awesome.css"
    };

    gulp.task('styles', function() {
    paths.push(filePaths.srcStyles);
    return gulp.src(paths)
    .pipe(plumber())
    .pipe(ignore.include(styleFilter))
    .pipe(less())
    .pipe(minifyCss())
    .pipe(concat('app.css'))
    .pipe(gulp.dest(filePaths.publicCss));
    });


    I'm just looking for hints as to what might be the issue. I suspect it has something to do with versioning conflicts between Node.js and some other gulp things, but I've never used gulp before.



      node -v: 6.17.0

      gulp -v: 3.8.11










    share|improve this question









    New contributor




    qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      When I run gulp in my project I get an error:



      /Users/*/*/bower_components/font-awesome/css/font-awesome.css:1:2: error: regular expressions cannot begin with *
      /*


      The '/*' in question refers to a CSS block comment. Here is a relevant portion of my gulpfile. (I can't post the rest, but it follows a similar process for the other files.):



      const styleFilter = '**/*.{css,less}';

      let paths = [ ]

      const filePaths = {
      publicCss: "./_public/css",
      srcStyles: "./assets/styles/*.*",

      srcFontAwesome: "./bower_components/font-awesome/css/font-awesome.css"
      };

      gulp.task('styles', function() {
      paths.push(filePaths.srcStyles);
      return gulp.src(paths)
      .pipe(plumber())
      .pipe(ignore.include(styleFilter))
      .pipe(less())
      .pipe(minifyCss())
      .pipe(concat('app.css'))
      .pipe(gulp.dest(filePaths.publicCss));
      });


      I'm just looking for hints as to what might be the issue. I suspect it has something to do with versioning conflicts between Node.js and some other gulp things, but I've never used gulp before.



        node -v: 6.17.0

        gulp -v: 3.8.11










      share|improve this question









      New contributor




      qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      When I run gulp in my project I get an error:



      /Users/*/*/bower_components/font-awesome/css/font-awesome.css:1:2: error: regular expressions cannot begin with *
      /*


      The '/*' in question refers to a CSS block comment. Here is a relevant portion of my gulpfile. (I can't post the rest, but it follows a similar process for the other files.):



      const styleFilter = '**/*.{css,less}';

      let paths = [ ]

      const filePaths = {
      publicCss: "./_public/css",
      srcStyles: "./assets/styles/*.*",

      srcFontAwesome: "./bower_components/font-awesome/css/font-awesome.css"
      };

      gulp.task('styles', function() {
      paths.push(filePaths.srcStyles);
      return gulp.src(paths)
      .pipe(plumber())
      .pipe(ignore.include(styleFilter))
      .pipe(less())
      .pipe(minifyCss())
      .pipe(concat('app.css'))
      .pipe(gulp.dest(filePaths.publicCss));
      });


      I'm just looking for hints as to what might be the issue. I suspect it has something to do with versioning conflicts between Node.js and some other gulp things, but I've never used gulp before.



        node -v: 6.17.0

        gulp -v: 3.8.11







      css node.js






      share|improve this question









      New contributor




      qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 42 secs ago









      karel

      9,34493339




      9,34493339






      New contributor




      qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 1 hour ago









      qdogqdog

      1




      1




      New contributor




      qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      qdog is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          qdog is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421112%2ffont-awesome-css-comments-evaluated-as-regex-on-gulp-build%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          qdog is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          qdog is a new contributor. Be nice, and check out our Code of Conduct.













          qdog is a new contributor. Be nice, and check out our Code of Conduct.












          qdog is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1421112%2ffont-awesome-css-comments-evaluated-as-regex-on-gulp-build%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Cannot install PyQt5 The Next CEO of Stack OverflowCannot install tcpreplay 3.4.4cannot...

          Kapp-Putsch Acontecimentos | Outros artigos | Menu de navegação

          Why did early computer designers eschew integers? The Next CEO of Stack OverflowWhat register...