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

bit status shows Error Cannot read property 'find' of undefined #1690

Closed
davidfirst opened this issue Jun 1, 2019 · 1 comment
Closed

bit status shows Error Cannot read property 'find' of undefined #1690

davidfirst opened this issue Jun 1, 2019 · 1 comment

Comments

@davidfirst
Copy link
Member

Expected Behavior

No errors should appear.

Actual Behavior

running bit status with the content below throws an error

     > layout ...  issues found
       error found while parsing the file (please edit the file and fix the parsing error):
          layout.tsx -> Cannot read property 'find' of undefined

Steps to Reproduce the Problem

  1. create a file foo.js and paste the following content
import './layout.scss'
export default something
  1. bit add foo.js
  2. bit status

Specifications

  • Bit version: 14.1.1
  • Node version:
  • npm / yarn version:
  • Platform:
  • Bit compiler (include version):
  • Bit tester (include version):
davidfirst added a commit to teambit/bit-javascript that referenced this issue Jun 1, 2019
…ned when a typescript file has an import statement without a specifier
@davidfirst
Copy link
Member Author

Fixed on bit-javascript package. A new version of bit-javascript has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant