LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a function The 2019 Stack Overflow Developer Survey Results Are InSFDX 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
APIPA and LAN Broadcast Domain
Getting crown tickets for Statue of Liberty
Why “相同意思的词” is called “同义词” instead of "同意词"?
Button changing its text & action. Good or terrible?
Kerning for subscripts of sigma?
Keeping a retro style to sci-fi spaceships?
If I score a critical hit on an 18 or higher, what are my chances of getting a critical hit if I roll 3d20?
What to do when moving next to a bird sanctuary with a loosely-domesticated cat?
I am an eight letter word. What am I?
Is an up-to-date browser secure on an out-of-date OS?
Dropping list elements from nested list after evaluation
Why isn't the circumferential light around the M87 black hole's event horizon symmetric?
Why are there uneven bright areas in this photo of black hole?
Did any laptop computers have a built-in 5 1/4 inch floppy drive?
Slides for 30 min~1 hr Skype tenure track application interview
Star Trek - X-shaped Item on Regula/Orbital Office Starbases
Will it cause any balance problems to have PCs level up and gain the benefits of a long rest mid-fight?
Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?
Pokemon Turn Based battle (Python)
What's the name of these plastic connectors
Worn-tile Scrabble
What is this business jet?
What is the motivation for a law requiring 2 parties to consent for recording a conversation
What do these terms in Caesar's Gallic wars mean?
LWC SFDX source push error TypeError: LWC1009: decl.moveTo is not a function
The 2019 Stack Overflow Developer Survey Results Are InSFDX 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;
Getting a strange error while running the sfdx force:source:push command for an lwc component
PROJECT PATH ERROR
──────────── ─────────────────────────────────────────────────
N/A TypeError: LWC1009: decl.moveTo is not a function
salesforcedx lightning-web-components
New contributor
add a comment |
Getting a strange error while running the sfdx force:source:push command for an lwc component
PROJECT PATH ERROR
──────────── ─────────────────────────────────────────────────
N/A TypeError: LWC1009: decl.moveTo is not a function
salesforcedx lightning-web-components
New contributor
add a comment |
Getting a strange error while running the sfdx force:source:push command for an lwc component
PROJECT PATH ERROR
──────────── ─────────────────────────────────────────────────
N/A TypeError: LWC1009: decl.moveTo is not a function
salesforcedx lightning-web-components
New contributor
Getting a strange error while running the sfdx force:source:push command for an lwc component
PROJECT PATH ERROR
──────────── ─────────────────────────────────────────────────
N/A TypeError: LWC1009: decl.moveTo is not a function
salesforcedx lightning-web-components
salesforcedx lightning-web-components
New contributor
New contributor
New contributor
asked Apr 5 at 22:26
alcoforadoalcoforado
1036
1036
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
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 ??
New contributor
2
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
Apr 6 at 0:45
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
Apr 6 at 5:49
add a comment |
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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 ??
New contributor
2
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
Apr 6 at 0:45
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
Apr 6 at 5:49
add a comment |
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 ??
New contributor
2
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
Apr 6 at 0:45
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
Apr 6 at 5:49
add a comment |
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 ??
New contributor
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 ??
New contributor
New contributor
answered Apr 5 at 22:33
alcoforadoalcoforado
1036
1036
New contributor
New contributor
2
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
Apr 6 at 0:45
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
Apr 6 at 5:49
add a comment |
2
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
Apr 6 at 0:45
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
Apr 6 at 5:49
2
2
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
Apr 6 at 0:45
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
Apr 6 at 0:45
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
Apr 6 at 5:49
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
Apr 6 at 5:49
add a comment |
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.
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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