function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vidya BaskarVidya Baskar 

Add Styles and Data to LWC challenge

I'm working on the "Add Styles and Data to a Lightning Component "module.
Created a new project and created a new lightning component in the project.
Named Selector.And used the code in the module for Selector.html and Selector.js.
When deploying i get the following error.
"Invalid reference Product__c of type sobjectClass in the file selector.js-meta.xml"
Any suggestions please.
AbhishekAbhishek (Salesforce Developers) 
Hi,

For all the Trailhead issues please report it here,

https://trailhead.salesforce.com/help?support=home#

https://trailhead.salesforce.com/help

So that our trailhead support engineers will look into it and get back to you.

I hope you find the above information is helpful. If it does, please mark as Best Answer to help others too.

Regards,
​​​​​​​Salesforce Support.