I have initialized a new scratch org and then created a lightning component in the scratch org using developer console. This is a simple component just to test the pull request. I can see that my lightning component is available when I check it via Lightning Components. The Devhub is enabled and scratch org is also properly authenticated. But when I try to pull my component to the local project which i have created using CLI it gives the following message.

=== Pulled Source No results found

But when after adding custom object or modify an existing object and then executing the pull will download my lightning component also. Why is this behavior?

  • 1
    you mentioned creating it using developer console? Did you create an aura component or a lightning web component? You can't create a LWC in the developer console Jul 15 at 10:51
  • 1
    Have you modified / added anything to your .forceignore that could be causing the changes to be ignored? Jul 15 at 14:41
  • @KrisGoncalves it a lightning component not LWC
    – nipunu
    Jul 17 at 5:32
  • @SergioAlcocer No. I have checked those files as well.
    – nipunu
    Jul 17 at 5:33

Your Answer

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

Browse other questions tagged or ask your own question.