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
Juan Victoriano 7Juan Victoriano 7 

Unable to complete challenge #4 on Lightning Web Components Specialist superbadge

Hello, I'm getting this error:
We can’t find the component boatSearchForm. Make sure the component was created according to the requirements.
 
// boatSearchForm.js

// imports
// import getBoatTypes from the BoatDataService => getBoatTypes method';
export default class BoatSearchForm extends LightningElement {
  selectedBoatTypeId = '';
  
  // Private
  error = undefined;
  
  searchOptions;
  
  // Wire a custom Apex method
    boatTypes({ error, data }) {
    if (data) {
      this.searchOptions = data.map(type => {
        // TODO: complete the logic
      });
      this.searchOptions.unshift({ label: 'All Types', value: '' });
    } else if (error) {
      this.searchOptions = undefined;
      this.error = error;
    }
  }
  
  // Fires event that the search option has changed.
  // passes boatTypeId (value of this.selectedBoatTypeId) in the detail
  handleSearchOptionChange(event) {
    // Create the const searchEvent
    // searchEvent must be the new custom event search
    searchEvent;
    this.dispatchEvent(searchEvent);
  }
}

Any insight or support would help, thanks!
​​​​​​​
VinayVinay (Salesforce Developers) 
Please note that Questions about how to pass Trailhead challenges are not on topic, because these challenges are intended to be independent demonstrations of your abilities.

Trailhead Help (https://trailhead.salesforce.com/en/help?support=home)can provide assistance for situations where Trailhead does not appear to be functioning correctly. You can reach out to them if this is the case.

Please close the thread by selected as Best Answer so that we can keep our community clean

Thanks,
Juan Victoriano 7Juan Victoriano 7
Hi Vinay,
It is not a question of how to pass the challenge; it is rather a hurdle on the challenge itself. I completed the first three steps. Suddenly, my Org isn't able to identify the web components I created in VS. I am not sure yet if it's an authentication issue to the Org or an issue with the syntax. I read in training this would be a good place to start when running into difficulties.
VinayVinay (Salesforce Developers) 
If you see any issues regarding development activities feel free to post your queries here and if you think this is an issue with trailhead kindly reach out to trailhead team.

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

Thanks,