Closed rajeshkeswani closed 4 months ago
Welcome! 👋
Thank you for posting this issue. 🙇🏼♂️ We will come back to you latest within the next 48h (working days). Stay tuned!
Hello Rajesh and thank you for reaching out. I appreciate you taking the time to describe the issue. We indeed had a slight packaging incident in the past when we let a community setting bleed into a component generated for OmniStudio use when that should not be required.
My best guess is that you haven't use this component in a custom LWC configuration on any Omniscript as it's fairly new and it's not been spruiked much.
In that case the best course of action is two use sfdx
and potentially Visual Studio Code if you have it in your setup and do the following:
sfGpsDsAuNswMarkdownElementCommOs
in a new sfdx project. Then use the SFDX contextual menu to Delete this LWC from the project and org.The issue should then be solved with the correct, most recent version of sfGpsDsAuNswMarkdownElementCommOs
installed.
Let me know if you do not have Visual Code Studio. I will outline the exact sfdx commands to run on the command line as an alternative.
Kindly let me know how that goes.
Thanks Emmanuel for your prompt response on the issue. I am able to upgrade the package after following your instructions hence closing the issue. Thank you !
Summary
Not able to upgrade the package getting below error :
Problem:
LightningComponentBundle(sfGpsDsAuNswMarkdownElementCommOs) lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityPage from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityDefault from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove targetConfigs because the targetConfig for lightningCommunityDefault is needed. This component is part of a managed package. sfGpsDsAuNswMarkdownElementCommOs: lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityPage from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityDefault from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove targetConfigs because the targetConfig for lightningCommunityDefault is needed. This component is part of a managed package.
LightningComponentBundle(sfGpsDsAuNswMarkdownElementCommOs) lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityPage from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityDefault from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove targetConfigs because the targetConfig for lightningCommunityDefault is needed. This component is part of a managed package. sfGpsDsAuNswMarkdownElementCommOs: lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityPage from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityDefault from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove targetConfigs because the targetConfig for lightningCommunityDefault is needed. This component is part of a managed package.
LightningComponentBundle(sfGpsDsAuNswMarkdownElementCommOs) lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityPage from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityDefault from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove targetConfigs because the targetConfig for lightningCommunityDefault is needed. This component is part of a managed package. sfGpsDsAuNswMarkdownElementCommOs: lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityPage from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove the lightningCommunityDefault from targets. This component is part of a managed package. lwc/sfGpsDsAuNswMarkdownElementCommOs/sfGpsDsAuNswMarkdownElementCommOs.js-meta.xml: You can't remove targetConfigs because the targetConfig for lightningCommunityDefault is needed. This component is part of a managed package.
Salesforce Org Type
Sandbox
Steps To Reproduce
Current Behavior
No response
Expected Behavior
No response
Relevant Log Output
No response
Code of Conduct