• Noble Wong 2
  • NEWBIE
  • 0 Points
  • Member since 2020

  • Chatter
    Feed
  • 0
    Best Answers
  • 1
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
Is there an easy way to troubleshoot this? I'm doing the trailhead: https://trailhead.salesforce.com/en/content/learn/modules/lightning-web-components-and-salesforce-data/use-apex-to-work-with-data

And I made Contacts uppercase on purpose to create this error in contactList.js 

@wire(getContacts)
Contacts;

The resultant error message is very vague and doesn't really show where the error is... (I had to goto Sources tab of console and use the search feature to find the compiled js...).

Any way to figure out how to easily find syntax errors like this?

User-added image
Is there an easy way to troubleshoot this? I'm doing the trailhead: https://trailhead.salesforce.com/en/content/learn/modules/lightning-web-components-and-salesforce-data/use-apex-to-work-with-data

And I made Contacts uppercase on purpose to create this error in contactList.js 

@wire(getContacts)
Contacts;

The resultant error message is very vague and doesn't really show where the error is... (I had to goto Sources tab of console and use the search feature to find the compiled js...).

Any way to figure out how to easily find syntax errors like this?

User-added image
Is there an easy way to troubleshoot this? I'm doing the trailhead: https://trailhead.salesforce.com/en/content/learn/modules/lightning-web-components-and-salesforce-data/use-apex-to-work-with-data

And I made Contacts uppercase on purpose to create this error in contactList.js 

@wire(getContacts)
Contacts;

The resultant error message is very vague and doesn't really show where the error is... (I had to goto Sources tab of console and use the search feature to find the compiled js...).

Any way to figure out how to easily find syntax errors like this?

User-added image