-
Notifications
You must be signed in to change notification settings - Fork 935
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 doesn't recognize dependencies in self reference use case #1779
Comments
Here is the thing, when running @qballer , in other words, this is working as expected, I'm closing it. Please re-open if you think otherwise. |
I still think this is an issue. lets discuss this off-github and summarize. |
@davidfirst @GiladShoham perhaps Bit should prefer resolving dependencies using I agree with @qballer that we should tackle this issue. As it creates an inconsistent behavior. In this case, if I run |
@qballer @itaymendel I agree. |
…ettings and fallback to the standard resolver
Implemented according to the suggestions above. |
I just came across a case (A Gitter user) when you have both, the custom-resolve path and the node-modules path and you actually prefer the node-modules. I end up with the alias configured in my workspace and the path set in my node-modules as a result of importing the component. cc: @GiladShoham . |
Describe the bug
When using
ngx-bootstrap
and adding accordion bit doesn't recognize dependencies when resolveModules properties is defined.Steps to Reproduce
npm i && npm run build
bit add src/accordion
Specifications
bit version : 14.1.4-dev.6
node version : v12.3.1
npm version : 6.9.0
yarn version : 1.16.0
platform : linux
The text was updated successfully, but these errors were encountered: