2

I tried creating projects on VScode with or without manifest and updating metadata but cant retreive the LWC of an Unmanaged Package.

enter image description here

enter image description here

2 Answers 2

4

It might be the case that you need to add a reference to the specific package in your package.xml, alongside the wildcard (*) that's collecting the LWCs that you can see. For help amending the package.xml, I'd refer to the Packages section of this official samples doc. I'm guessing it'd look like this:

<types>
    <members>*</members>
    <members>Your_Unmanaged_Package_Namespace</members>
    <name>LightningComponentBundle</name>
</types>
<version>47.0</version>
2

You can try this too

$ sfdx force:source:retrieve -m LightningComponentBundle

You must log in to answer this question.