When I run this code with a different name (helloworld), it worked at first, but now it gives me an error like this.
20:01:37.571 Starting SFDX: Create Lightning Web Component
target dir = d:\salesforce\HelloWorldLightningWebComponent\force-app\main\default\lwc
create d:\salesforce\HelloWorldLightningWebComponent\force-app\main\default\lwc\helloWorld\helloWorld.js
create d:\salesforce\HelloWorldLightningWebComponent\force-app\main\default\lwc\helloWorld\helloWorld.html
20:01:37.940 Finished SFDX: Create Lightning Web Component
20:03:06.931 Starting SFDX: Deploy Source to Org
=== Deploy Errors
PROJECT PATH ERRORS
──────────── ──────────────────────────────────────────────────────────────────────────────
duplicate value found: <unknown> duplicates value on record with id: <unknown>
Cannot find Lightning Component Bundle helloWorld.
Cannot find Lightning Component Bundle helloWorld.
20:03:10.844 ended SFDX: Deploy Source to Org@
Khyati Mehta (InfinySkills) Forum Ambassador
Hi Tuba,
Everything in Salesforce is highly case-sensitive. Highly recommend you to first check the labels and names properly. Secondly, Sakthivel mentioned it, there are chances that duplicate components are already there. The workaround is here to create a new project that retry your code!