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

fix(init), rewrite workspace.jsonc if missing #8800

Merged
merged 2 commits into from
Apr 19, 2024

Conversation

davidfirst
Copy link
Member

@davidfirst davidfirst commented Apr 19, 2024

Currently, if the worksapce.jsonc is missing, it throws an unclear error:

workspace.jsonc is missing the "teambit.workspace/workspace" property

And bit init doesn't fix it.

Now, the error is clearer:

fatal: workspace config is empty. probably one of bit files is missing. consider running "bit init"

And running bit init rewrite the file.

@davidfirst davidfirst merged commit 8ed3aa6 into master Apr 19, 2024
11 checks passed
@davidfirst davidfirst deleted the init-workspace-jsonc-missing branch April 19, 2024 18:24
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

Successfully merging this pull request may close these issues.

None yet

2 participants