LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a functionSFDX PersonAccount: ERROR: Entity...

strTok function (thread safe, supports empty tokens, doesn't change string)

What is the word for reserving something for yourself before others do?

"You are your self first supporter", a more proper way to say it

RSA: Danger of using p to create q

Was any UN Security Council vote triple-vetoed?

Does detail obscure or enhance action?

What does the "remote control" for a QF-4 look like?

Is it unprofessional to ask if a job posting on GlassDoor is real?

Do infinite dimensional systems make sense?

Does an object always see its latest internal state irrespective of thread?

How to format long polynomial?

LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a function

How can I make my BBEG immortal short of making them a Lich or Vampire?

How much RAM could one put in a typical 80386 setup?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

Is it possible to do 50 km distance without any previous training?

What would happen to a modern skyscraper if it rains micro blackholes?

How can I prevent hyper evolved versions of regular creatures from wiping out their cousins?

NMaximize is not converging to a solution

How does quantile regression compare to logistic regression with the variable split at the quantile?

How can bays and straits be determined in a procedurally generated map?

I'm flying to France today and my passport expires in less than 2 months

Character reincarnated...as a snail

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?



LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a function


SFDX PersonAccount: ERROR: Entity of type 'RecordType' named 'Account.Business_Account' cannot be foundJenkins Pipeline - sfdx folder not found“TypeError: component.find is not a function” When trying to test by using LTS: Jasmine install through sfdxsfdx Error while creating package versionLightning Web Component: A required metadata folder named “lwc” does not exist in this workspaceLightning web components issue with SFDX push and pullSFDX plugin is not getting Updatedlwc: sfdx unable to retrieve lwc fileslwc PROJECT PATH ERROR UnknownGetting an error “There are no entries to pick from” while creating LWC components






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







3















Getting a strange error while running the sfdx force:source:push command for an lwc component



enter image description here



PROJECT PATH ERROR
──────────── ─────────────────────────────────────────────────
N/A TypeError: LWC1009: decl.moveTo is not a function










share|improve this question







New contributor




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



























    3















    Getting a strange error while running the sfdx force:source:push command for an lwc component



    enter image description here



    PROJECT PATH ERROR
    ──────────── ─────────────────────────────────────────────────
    N/A TypeError: LWC1009: decl.moveTo is not a function










    share|improve this question







    New contributor




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























      3












      3








      3








      Getting a strange error while running the sfdx force:source:push command for an lwc component



      enter image description here



      PROJECT PATH ERROR
      ──────────── ─────────────────────────────────────────────────
      N/A TypeError: LWC1009: decl.moveTo is not a function










      share|improve this question







      New contributor




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












      Getting a strange error while running the sfdx force:source:push command for an lwc component



      enter image description here



      PROJECT PATH ERROR
      ──────────── ─────────────────────────────────────────────────
      N/A TypeError: LWC1009: decl.moveTo is not a function







      salesforcedx lightning-web-components






      share|improve this question







      New contributor




      alcoforado 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




      alcoforado 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






      New contributor




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









      asked 8 hours ago









      alcoforadoalcoforado

      664




      664




      New contributor




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





      New contributor





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






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






















          1 Answer
          1






          active

          oldest

          votes


















          5














          I found the issue. The cause is a css file I have in a Lightning Web Component bundle.
          I had two declarations for the same selector in my css



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          }

          .slds-card {
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          Merging them into one solved my issue.



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          I wonder if this should be logged as a bug in sfdx ??






          share|improve this answer








          New contributor




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
















          • 1





            I'd say log a bug. Worse case scenario, they close the bug, but if it's reproducible, they'll likely fix it, or at least document it as a limitation.

            – sfdcfox
            5 hours ago











          • Yeah please log a bug if you have time. The description of the error is not helpful at all. And you should be able to push an LWC component with the same selector in the css.

            – Kenan
            53 mins ago














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "459"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          alcoforado 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%2fsalesforce.stackexchange.com%2fquestions%2f256817%2flwc-sfdx-source-push-error-typeerror-lwc1009-decl-moveto-is-not-a-function%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          5














          I found the issue. The cause is a css file I have in a Lightning Web Component bundle.
          I had two declarations for the same selector in my css



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          }

          .slds-card {
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          Merging them into one solved my issue.



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          I wonder if this should be logged as a bug in sfdx ??






          share|improve this answer








          New contributor




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
















          • 1





            I'd say log a bug. Worse case scenario, they close the bug, but if it's reproducible, they'll likely fix it, or at least document it as a limitation.

            – sfdcfox
            5 hours ago











          • Yeah please log a bug if you have time. The description of the error is not helpful at all. And you should be able to push an LWC component with the same selector in the css.

            – Kenan
            53 mins ago


















          5














          I found the issue. The cause is a css file I have in a Lightning Web Component bundle.
          I had two declarations for the same selector in my css



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          }

          .slds-card {
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          Merging them into one solved my issue.



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          I wonder if this should be logged as a bug in sfdx ??






          share|improve this answer








          New contributor




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
















          • 1





            I'd say log a bug. Worse case scenario, they close the bug, but if it's reproducible, they'll likely fix it, or at least document it as a limitation.

            – sfdcfox
            5 hours ago











          • Yeah please log a bug if you have time. The description of the error is not helpful at all. And you should be able to push an LWC component with the same selector in the css.

            – Kenan
            53 mins ago
















          5












          5








          5







          I found the issue. The cause is a css file I have in a Lightning Web Component bundle.
          I had two declarations for the same selector in my css



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          }

          .slds-card {
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          Merging them into one solved my issue.



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          I wonder if this should be logged as a bug in sfdx ??






          share|improve this answer








          New contributor




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










          I found the issue. The cause is a css file I have in a Lightning Web Component bundle.
          I had two declarations for the same selector in my css



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          }

          .slds-card {
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          Merging them into one solved my issue.



          .slds-card {
          border: 1px #CFD7E6 solid !important;
          border-radius: 5px !important;
          background-color: #9298eb !important;
          padding-left: 1rem !important;
          padding-right: 1rem !important;
          }


          I wonder if this should be logged as a bug in sfdx ??







          share|improve this answer








          New contributor




          alcoforado 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 answer



          share|improve this answer






          New contributor




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









          answered 8 hours ago









          alcoforadoalcoforado

          664




          664




          New contributor




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





          New contributor





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






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








          • 1





            I'd say log a bug. Worse case scenario, they close the bug, but if it's reproducible, they'll likely fix it, or at least document it as a limitation.

            – sfdcfox
            5 hours ago











          • Yeah please log a bug if you have time. The description of the error is not helpful at all. And you should be able to push an LWC component with the same selector in the css.

            – Kenan
            53 mins ago
















          • 1





            I'd say log a bug. Worse case scenario, they close the bug, but if it's reproducible, they'll likely fix it, or at least document it as a limitation.

            – sfdcfox
            5 hours ago











          • Yeah please log a bug if you have time. The description of the error is not helpful at all. And you should be able to push an LWC component with the same selector in the css.

            – Kenan
            53 mins ago










          1




          1





          I'd say log a bug. Worse case scenario, they close the bug, but if it's reproducible, they'll likely fix it, or at least document it as a limitation.

          – sfdcfox
          5 hours ago





          I'd say log a bug. Worse case scenario, they close the bug, but if it's reproducible, they'll likely fix it, or at least document it as a limitation.

          – sfdcfox
          5 hours ago













          Yeah please log a bug if you have time. The description of the error is not helpful at all. And you should be able to push an LWC component with the same selector in the css.

          – Kenan
          53 mins ago







          Yeah please log a bug if you have time. The description of the error is not helpful at all. And you should be able to push an LWC component with the same selector in the css.

          – Kenan
          53 mins ago












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










          draft saved

          draft discarded


















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













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












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
















          Thanks for contributing an answer to Salesforce Stack Exchange!


          • 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%2fsalesforce.stackexchange.com%2fquestions%2f256817%2flwc-sfdx-source-push-error-typeerror-lwc1009-decl-moveto-is-not-a-function%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

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Castillo d'Acher Características Menú de navegación

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...