While trying to export the built components, I have an error localy. The export seems to be well performed as I have my components in my cloud collection.
$ bit export digitalproductstudio.trainingapp
please use "--rewire" flag to fix the import/require statements between "api" is requiring "[email protected]" with relative path
the current import/require module has no scope-name, which result in an invalid module path upon import
$ bit export digitalproductstudio.trainingapp --rewire
packageNameToComponentId unable to determine the id of api, it has no dot and is not exists on .bitmap
$ bit export digitalproductstudio.trainingapp
nothing to export
$ bit status
packageNameToComponentId unable to determine the id of api, it has no dot and is not exists on .bitmap
$ bit list
found 0 components in local scope
bit add src/components/welcome.vue --id welcome --main src/components/welcome.vue
bit add src/services/AuthenticationService.js src/services/EmailService.js src/services/api.js src/store.js
"resolveModules": {
"modulesDirectories": ["src"],
"aliases": {
"@": "src"
}
}
bit link --rewire
bit tag --all 0.1.1
$ bit export digitalproductstudio.trainingapp --rewire
`````
But then I have
packageNameToComponentId unable to determine the id of api, it has no dot and is not exists on .bitmap
and nothing to export nor components in local scope
$ bit export digitalproductstudio.trainingapp
nothing to export
$ bit status
packageNameToComponentId unable to determine the id of api, it has no dot and is not exists on .bitmap
$ bit list
found 0 components in local scope
````
No error and the list of components I just exported in the local scope
We fixed this issue yesterday. I'll publish a new version today or Sunday
@thibaultchazal , The new version v14.8.4 has been released.
Please re-open if the issue still happens with the new version.
Most helpful comment
@thibaultchazal , The new version v14.8.4 has been released.
Please re-open if the issue still happens with the new version.