Skip to main content

Cannot get Communicate Between Lightning Web Components > Communicate from Parent to Child to validate after hours of troubleshooting.

  Constant error:     Step not yet complete in <<orgname>>

We can’t find the ‘counter’ attribute in the ‘c-numerator’ tag in augmentor.html”.    

1 réponse
  1. 25 oct., 22:15

    Hi Ellen, this checker reads the deployed augmentor.html in your org, so it's usually either the markup or the deploy. Things to check: 

    1) In augmentor.html, the child tag should pass the value as an attribute, like this: <c-numerator counter={startCounter}></c-numerator>. The attribute must be all lowercase (counter), with no quotes around the curly braces. 

    2) In numerator.js, counter must be a public property, declared with the api decorator and with api imported from lwc. 

    3) Right-click the augmentor folder in VS Code and choose SFDX: Deploy This Source to Org, and confirm there are no deploy errors. A local edit that wasn't deployed is the most common cause. 

    4) Make sure the org your VS Code project is authorized to is the same org selected in the challenge dropdown. 

    Hope this gets you past it!

0/9000