I am unable to deploy/push the LWC to Devhub/scratch org. I'm getting error "The component must implement at least one of lightning__HomePage interface".

I have already added the "lightning__HomePage" tag in the js-meta.xml file. Still, I'm getting the same error message.

This is happening when my org is upgraded to Summer 19.

Please help me to resolve this issue.

Thanks in advance.


<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata" fqn="helloworld">




import { LightningElement } from 'lwc';

export default class ConfigureScreen extends LightningElement {}
  • Do you have a Spring ‘19 Org, and does it work there fine?
    – Jayant Das
    Apr 21 '19 at 20:04
  • It seems that you’re still using the spring 19 api version. For that reason I don’t think that it’ll have something to do with the summer 19 upgrade... Apr 21 '19 at 23:56
  • I'm facing this issue on the Summer 19 Org. Code deployment is working fine on older Spring 19 Org. My observation: I'm unable to deploy the LWC code if it is added to the record page. If I removed the component from the record page, I 'm able to deploy the code. Apr 22 '19 at 5:55

I had added the component in lightning app page. I removed it from the page, then I was able to save the Lwc. After saving I again added it to the lightning app page from the builder. It is working.

If you have added the component in any of the home pages, please remove it temporarily and try to save. You can add it back, once you save it.


I am also facing the same issue. I noticed a pattern in this: If you have a component and getting used on any layout or Utility bar. Then you will face this issue.

Workaround: 1. Create a wrapper component and call your above component in this wrapper component. 2. Using this you will never be working on the wrapper component directly. As soon as the error got fixed use your component on the layout.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.