-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue: Expected workspace to have one lwc folder #174
Comments
Same here |
Forget to mention that I've been used Code Builder (web-based Visual Studio Code) |
Thanks for bringing this issue to our attention. A couple of things to note here:
Let us know if that doesn't describe your setup, and we can work with you to see what else may be going on. |
@khawkins in my case I'm working in local VSCode and I do have a force-app/main/default/lwc/ folder |
Sounds like there are a few lingering issues around this part of the functionality. We'll take a look and report back here on options available that you can go forward with. Thanks for the feedback so far! |
I'm facing the same issue as @tparaiso where we have multiple package directories in the same SFDX project with LWCs present in more than one of the directories. |
This issue has been linked to a new work item: W-16985153 |
Same error for me. In my case, however, I have a second package directory configured in sfdx-project.json but it does not contain an LWC folder. Slightly different situation than the example @tparaiso provided. If I remove that second folder from the packageDirectories list I, too, can run Local Dev successfully. |
I am facing the same issue. Support for multi package monorepos is a must |
Thanks every one who has reported this issue so far. We are working on a fix and will update here shortly. |
@ravijayaramappa, is it not too late to extend support for a more flexible directory structure beyond the rigid 4-level In some of our projects the directory structure differs from this format. For example: Projects may also have dependencies listed in the {
"packageDirectories": [
{
"path": "node_modules/some-other-component-library/force-lib",
"default": false
},
{
"path": "force-wip",
"default": false
},
{
"path": "force-lib",
"default": true
},
{
"path": "force-app",
"default": false
}
]
} |
Summary
After completing the steps in this Preview Components with Local Dev (Beta)
, I run script
sf lightning dev app -o MY_SANDBOX
. It causes an errorAnd my sfdx project includes the folder force-app/main/default. Please, help me to resolve this issue. Thank you.
Steps To Reproduce:
Complete the steps in this article article,
Run script
sf lightning dev app -o MY_SANDBOX
Expected result
The CLI should run successfully.
Actual result
It returns an error
Describe what actually happened instead.
Additional information
Feel free to attach a screenshot.
VS Code Version:
SFDX CLI Version:
OS and version:
The text was updated successfully, but these errors were encountered: