Skip to content

Issue: Expected workspace to have one lwc folder #174

Closed
@lynguyenkhang

Description

@lynguyenkhang

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 error

Error (1): Expected workspace to have one lwc folder

And my sfdx project includes the folder force-app/main/default. Please, help me to resolve this issue. Thank you.

Steps To Reproduce:

  1. Complete the steps in this article article,

  2. Run script sf lightning dev app -o MY_SANDBOX

Expected result

The CLI should run successfully.

Actual result

It returns an error

Error (1): Expected workspace to have one lwc folder

Describe what actually happened instead.

Additional information

Feel free to attach a screenshot.

VS Code Version:

SFDX CLI Version:

OS and version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions