You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bit link generates the missing links of custom-module-resolution.
For example, if an alias was set from src to @foo, bit link creates node_modules/@foo file that links to the 'src' in the imported component.
The issue happens when the following criteria are met:
the alias has more than two slashes. e.g. @/foo/bar.
a component file refers to multiple aliases with the same prefix.
In case the first link exists but not the second, bit status shows as if the first link is missing.
When running bit link it's able to generate the missing link.
Steps to Reproduce
create two aliases: src/bar/foo => @/bar/foo, src/bar/baz => @/bar/baz
create a component that require the above two. tag, commit and export.
import the component above, manually delete the link of @/bar/baz.
run 'bit status' and 'bit link' to see the issues above.
Specifications
Bit version: 14.4.0
Bit compiler (include version): N/A
Bit tester (include version): N/A
Additional context
The issue was found by @zeesulehria and reported via Gitter.
The text was updated successfully, but these errors were encountered:
Describe the bug
bit link
generates the missing links of custom-module-resolution.For example, if an alias was set from
src
to@foo
, bit link createsnode_modules/@foo
file that links to the 'src' in the imported component.The issue happens when the following criteria are met:
@/foo/bar
.In case the first link exists but not the second,
bit status
shows as if the first link is missing.When running
bit link
it's able to generate the missing link.Steps to Reproduce
src/bar/foo => @/bar/foo
,src/bar/baz => @/bar/baz
@/bar/baz
.run 'bit status' and 'bit link' to see the issues above.
Specifications
Additional context
The issue was found by @zeesulehria and reported via Gitter.
The text was updated successfully, but these errors were encountered: