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
Asad Mahmood 6Asad Mahmood 6 

LWC - Cannot find Lightning Component Bundle services

hi guys,

i'm fairly new to salesforce lwc development...i am trying to organise lwc project structure but i am always getting "Cannot find Lightning Component Bundle services" even though i have  configuration file for my component i.e. component.js-meta.xml


-->app component
[pages folder]
---->[something else]

but i am always getting cannot find lightning component bundle services when i try to import service in app component

please help me understand

AnudeepAnudeep (Salesforce Developers) 
Can you double-check your folder structure? Also, please try to manually create the file using New File menu item command in VS Code with the manual insertion of code
<?xml version="1.0" encoding="UTF-8"?> <LightningComponentBundle xmlns=""> <apiVersion>45.0</apiVersion> <isExposed>true</isExposed> </LightningComponentBundle>

or by selecting a menu item SFDX: Create Lightning Web Component or by a create command like suggested in the documentation