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

Bit received an error loading teambit.react/[email protected] #7442

Closed
Mistrain-y-y opened this issue May 24, 2023 · 5 comments
Closed

Bit received an error loading teambit.react/[email protected] #7442

Mistrain-y-y opened this issue May 24, 2023 · 5 comments
Labels

Comments

@Mistrain-y-y
Copy link

I am trying creating a new workspace:

$ bit new react tasks-workspace --aspect teambit.react/react-env --default-scope my-org.tasks-scope

bit 0.1.48
macOS 12.3

Why I get this error:
image

@GiladShoham
Copy link
Member

please run bit install again.
i'm working on that issue right now.

@Mistrain-y-y
Copy link
Author

But bit install can only run inside a bit workspace.
I want to create a workspace first.

@GiladShoham
Copy link
Member

ohhh ok, it's in the global scope.
you can run it again with --log so you will see the capsule path.
Then try to delete the capsule folder.

@Mistrain-y-y
Copy link
Author

wow, it works.
I want to know what happened after I deleted the capsule folder,
and what caused my error.

@itaymendel
Copy link
Contributor

it's likely that the capsule for teambit.react/react-env was not created correctly (maybe you stopped the operation mid way, as this usually happens). this caused installation to not run there, and that dependency to not get resolved.
by deleting the capsules you forced bit to re-create it.

we are working to remove the coupling between bit new and capsules, which will solve this completely.

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

No branches or pull requests

3 participants