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

An error occurred in the package #7939

Closed
zandko opened this issue Sep 21, 2023 · 4 comments
Closed

An error occurred in the package #7939

zandko opened this issue Sep 21, 2023 · 4 comments
Labels

Comments

@zandko
Copy link

zandko commented Sep 21, 2023

Describe the bug

When I packed it, I found that an error occurred because I introduced other packages in the bit workspace.

Steps to Reproduce

1.bit build package

Screenshots, exceptions and logs

IMG-2023-09-21-16 07 49@2x

Specifications

  • Bit version: latest
  • Node version: 18
  • Platform: mac
@sbland
Copy link

sbland commented Sep 27, 2023

Try deleting node_modules and then running bit install

@zandko
Copy link
Author

zandko commented Sep 27, 2023

I tried it many times, but it didn't work.

@sbland
Copy link

sbland commented Sep 27, 2023

Check the package is in your workspace.jsonc file too.

@itaymendel
Copy link
Contributor

you don't need to build components specifically. just run bit build without anything after that.
Bit needs to build the dependents, but it will not, as you do not indicate to Bit to build them (you can pass multiple components to the command, but it's not required).

by default bit will build modified components and their affected dependents.

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