[SalesForce] Lightning Web Components and Salesforce Data: Handle Server Errors

When I try to deploy my contactList component I see the following error:

No MODULE named markup://c:ldsUtils found : [markup://c:contactList]

How should I import ldsUtils into my js file?

Best Answer

Click the LWC Recipe link and download the files Source: Salesforce Module - Lightning Web Components and Salesforce Data

Go to the external LWC link and Download the JS and JS-Meta file to your directory. Create another ldsUtils folder in lwc folder and save in them.

My VSCode pic
Source: From my PC

Now while deploying, there won't be any error.

Related Topic