-
Notifications
You must be signed in to change notification settings - Fork 926
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
Missing data when running build when no compiler is imported (Cannot read property 'split' of undefined) #2297
Comments
That works for the second time. |
I am also experiencing this issue, but specifically mine only occurs when running in a circle-ci pipeline and works fine locally. |
Any suggested work arounds for this issue? |
I have just written a Temporary Solution in the opening comment. |
Thanks @JoshK2 the solution above does work in our Circle-CI pipeline now. |
This should be solved as part of the next major version - harmony |
irrelevant for v15 We'll start rolling out v15 of Bit this week, please reach out to me privately on the public slack community for a sneak peek and getting early access to it. |
Describe the bug
I have a workspace with tracked components, and my compiler is configured in the bit config object, but not imported yet.
Then I run
bit build
and I expect that bit import the compiler first, and then build the components, but I get errors on data that the compiler not receive.Steps to Reproduce
bit build
Specifications
Additional context
Add any other context about the problem here.
Temporary Solution
Import the compiler
bit import COMPILER LINK
before running thebit build
command.The disadvantage of this solution: if you have a special configuration in the rawConfig object, they will be removed when you import the compiler.
You can see a solution I wrote to keep the configuration after the import:
https://github.com/teambit/envs/blob/master/.github/workflows/ci.yaml#L45
The text was updated successfully, but these errors were encountered: