Skip to content
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

yarn: ERROR: There are no scenarios; must have at least one. #571

Open
fujitatomoya opened this issue Jun 5, 2024 · 2 comments
Open

yarn: ERROR: There are no scenarios; must have at least one. #571

fujitatomoya opened this issue Jun 5, 2024 · 2 comments

Comments

@fujitatomoya
Copy link
Contributor

Describe the bug

I was following https://github.com/kubeedge/website?tab=readme-ov-file#previewing-your-changes-on-a-local-website-server but it failed with the error.

tomoyafujita@~/DVT/03_OSS/github.com/fujitatomoya/website >yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.

tomoyafujita@~/DVT/03_OSS/github.com/fujitatomoya/website >yarn build
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'build'

To Reproduce

tomoyafujita@~/DVT/03_OSS/github.com/fujitatomoya/website >yarn
00h00m00s 0/0: : ERROR: There are no scenarios; must have at least one.

tomoyafujita@~/DVT/03_OSS/github.com/fujitatomoya/website >yarn build
00h00m00s 0/0: : ERROR: [Errno 2] No such file or directory: 'build'

Expected behavior

documentation should be built and previewed by localserver before pushing the development branch.

Screenshots

image

Desktop (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: N.A
  • Version: N.A

Additional context

I think it would be more useful and developer-friendly that we could provide build-container or devcontainer, so that users do not need to set up the environment for this doc development.

@Shelley-BaoYue
Copy link
Collaborator

I can't reproduce this in my local environment. I searched for this error, it seems to be caused by the yarn version being lower than 1.22, what's your yarn version?

@fujitatomoya
Copy link
Contributor Author

I use ubuntu for development, which provides only 0.32+git up to Ubuntu Nobel.

tomoyafujita@~/DVT >yarn --version
0.32+git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants