-
Notifications
You must be signed in to change notification settings - Fork 924
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 CLI has issue tagging modified components #356
Comments
@theetrain |
Hi, @theetrain In the meantime, you can workaround the issue by editing {
"enricotelus.bit-test/components/button@1": {
"files": [
{
"relativePath": "src/components/button.jsx",
"test": false,
"name": "button.jsx"
}
],
"mainFile": "src/components/button.jsx",
"origin": "AUTHORED"
},
"components/button": {
"files": [
{
"relativePath": "src/components/button.jsx",
"test": false,
"name": "button.jsx"
}
],
"mainFile": "src/components/button.jsx",
"origin": "AUTHORED"
}
} Simply edit it to look like this (without the components/button entry): {
"enricotelus.bit-test/components/button@1": {
"files": [
{
"relativePath": "src/components/button.jsx",
"test": false,
"name": "button.jsx"
}
],
"mainFile": "src/components/button.jsx",
"origin": "AUTHORED"
}
} Please update the issue if this error keeps reproducing. |
Hi, @theetrain Perhaps this is because after the At any case, that's something I'm fixing, as Bit should not allow adding the same component several times. |
As described by @GiladShoham, the issue happened as a result of re-adding a component after export. |
User info
Host system: MacOS Sierra 10.12.6
Terminal: Hyper (bash)
Node version: 8.2.1 (using nvm 0.33.4)
npm version: 5.5.1
Bit version: 0.10.9
Component: https://bitsrc.io/enricotelus/bit-test/components/button
Background
I was able to use bit successfully to create, stage, tag, and export a component that is now at v1. When I made a change, my bit status listed the component under 'modified components', which is great. Though the next part gets cryptic:
Expected result
I expected my button component to tag at v2 and become staged for exporting.
Additional info
Not sure why it was working earlier, and then suddenly not working. For added context, my project tree does have two .bit projects since I'm testing this tool out 😃
The text was updated successfully, but these errors were encountered: