Skip to content
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

misleading output when a package dependency is missing #1750

Closed
davidfirst opened this issue Jun 21, 2019 · 0 comments
Closed

misleading output when a package dependency is missing #1750

davidfirst opened this issue Jun 21, 2019 · 0 comments

Comments

@davidfirst
Copy link
Member

Describe the bug

bit status shows incorrectly "untracked file dependencies" when a dependency (installed as a package) is missing from node_modules.

Steps to Reproduce

  1. create two components, A requires B. tag and push to bit.dev
  2. import A fro bit.dev
  3. delete node_modules inside A component.
  4. run bit status.

The output I got is:

> A ...  issues found
       untracked file dependencies (use "bit add <file>" to track untracked files as components):
          a.js -> components/A/b.js

Expected Behavior

A message showing that the package is missing with a suggestion to run bit install.

Specifications

  • Bit version: v14.1.3
  • Node version: 6.x
  • npm / yarn version: 6.9.0
  • Platform: MacOS
  • Bit compiler (include version): N/A
  • Bit tester (include version): N/A
@davidfirst davidfirst self-assigned this Jun 22, 2019
davidfirst added a commit that referenced this issue Jun 25, 2019
… missing. currently it shows the link file as an untracked file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant