Task gulp Sage WordPress









up vote
0
down vote

favorite












i have a problem with sage, i use last wordpress and sage version on Windows 10. I installed Sage, launch command npm install and when arrive a compile i see an error for compile .scss.
If i compile with npm start see this problem:



resources/assets/styles/layouts/_pages.scss
1:4 × Expected single space before "{" block-opening-brace-space-before
2:5 × Expected indentation of 2 spaces indentation
3:1 × Unexpected missing end-of-source newline no-missing-end-of-source-newline


Then i would like to try with gulp, when launch command gulp i see error "No gulpfile", how create a task for gulp for sage?
I have create a bower with bower init, for gulp how i create?










share|improve this question









New contributor




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























    up vote
    0
    down vote

    favorite












    i have a problem with sage, i use last wordpress and sage version on Windows 10. I installed Sage, launch command npm install and when arrive a compile i see an error for compile .scss.
    If i compile with npm start see this problem:



    resources/assets/styles/layouts/_pages.scss
    1:4 × Expected single space before "{" block-opening-brace-space-before
    2:5 × Expected indentation of 2 spaces indentation
    3:1 × Unexpected missing end-of-source newline no-missing-end-of-source-newline


    Then i would like to try with gulp, when launch command gulp i see error "No gulpfile", how create a task for gulp for sage?
    I have create a bower with bower init, for gulp how i create?










    share|improve this question









    New contributor




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





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      i have a problem with sage, i use last wordpress and sage version on Windows 10. I installed Sage, launch command npm install and when arrive a compile i see an error for compile .scss.
      If i compile with npm start see this problem:



      resources/assets/styles/layouts/_pages.scss
      1:4 × Expected single space before "{" block-opening-brace-space-before
      2:5 × Expected indentation of 2 spaces indentation
      3:1 × Unexpected missing end-of-source newline no-missing-end-of-source-newline


      Then i would like to try with gulp, when launch command gulp i see error "No gulpfile", how create a task for gulp for sage?
      I have create a bower with bower init, for gulp how i create?










      share|improve this question









      New contributor




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











      i have a problem with sage, i use last wordpress and sage version on Windows 10. I installed Sage, launch command npm install and when arrive a compile i see an error for compile .scss.
      If i compile with npm start see this problem:



      resources/assets/styles/layouts/_pages.scss
      1:4 × Expected single space before "{" block-opening-brace-space-before
      2:5 × Expected indentation of 2 spaces indentation
      3:1 × Unexpected missing end-of-source newline no-missing-end-of-source-newline


      Then i would like to try with gulp, when launch command gulp i see error "No gulpfile", how create a task for gulp for sage?
      I have create a bower with bower init, for gulp how i create?







      javascript wordpress gulp






      share|improve this question









      New contributor




      user7014237 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




      user7014237 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 6 hours ago









      kcrisman

      3,4541234




      3,4541234






      New contributor




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









      asked Nov 10 at 11:08









      user7014237

      1




      1




      New contributor




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





      New contributor





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






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



























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          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',
          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
          );



          );






          user7014237 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%2fstackoverflow.com%2fquestions%2f53238339%2ftask-gulp-sage-wordpress%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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









           

          draft saved


          draft discarded


















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












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











          user7014237 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%2fstackoverflow.com%2fquestions%2f53238339%2ftask-gulp-sage-wordpress%23new-answer', 'question_page');

          );

          Post as a guest














































































          這個網誌中的熱門文章

          How to read a connectionString WITH PROVIDER in .NET Core?

          Node.js Script on GitHub Pages or Amazon S3

          Museum of Modern and Contemporary Art of Trento and Rovereto