You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Local Dev only appears to support LWC components created in the OOTB directory \sfdx-source\main\default our project uses a custom directory \sfdx-source\[customNamespace]\[directories]
Errors with Error (1): Expected workspace to have one lwc folder
Additional Information
If I DEBUG=* sf lightning dev app I get additional debug and can see Skipping [redacted]\sfdx-source\main\default because it does not exist or is not a directory which is correct I don't have this directory; we're using a custom directory.
Then it errors with Error (1): Expected workspace to have one lwc folder
System Information
@salesforce/cli/2.63.8 win32-x64 node-v20.17.0
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22631 N/A Build 22631
GNU bash, version 5.2.12(1)-release (x86_64-pc-msys)
The text was updated successfully, but these errors were encountered:
@supert3d , From my understanding ( Just as someone who peeked at the source this afternoon ), you may have to have a path ending in "lwc" if you choose not to confine by the OOTB path determined. Check out this line of code when creating the LWC Server:
Summary
Local Dev only appears to support LWC components created in the OOTB directory
\sfdx-source\main\default
our project uses a custom directory\sfdx-source\[customNamespace]\[directories]
Steps To Reproduce:
sf lightning dev app
in Terminal.Expected Result
Actual Result
Error (1): Expected workspace to have one lwc folder
Additional Information
If I
DEBUG=* sf lightning dev app
I get additional debug and can seeSkipping [redacted]\sfdx-source\main\default because it does not exist or is not a directory
which is correct I don't have this directory; we're using a custom directory.Then it errors with
Error (1): Expected workspace to have one lwc folder
System Information
@salesforce/cli/2.63.8 win32-x64 node-v20.17.0
OS Name: Microsoft Windows 11 Pro
OS Version: 10.0.22631 N/A Build 22631
GNU bash, version 5.2.12(1)-release (x86_64-pc-msys)
The text was updated successfully, but these errors were encountered: