bit icon indicating copy to clipboard operation
bit copied to clipboard

React Native export components issue

Open nadzic opened this issue 7 years ago • 2 comments

Expected Behavior

Adding component without any issues

Actual Behavior

Missing package depedencies, more detailed:

 > loader ...  issues found       
   missing packages dependencies (use your package manager to make sure all package dependencies are installed): 
      src/components/common/Loader.js -> kioskapp
Screenshot 2019-04-24 at 15 50 58

Steps to Reproduce the Problem

Just after the adding component.

Specifications

  • Bit version: 14.0.6
  • Node version: v8.6.0
  • npm / yarn version: 6.4.1
  • Platform: Mac Os X
  • Bit compiler (include version): [email protected]
  • Bit tester (include version): [email protected]

nadzic avatar Apr 24 '19 14:04 nadzic

Hi,

It seems that Loader.js requires a module named kioskapp, and Bit is unable to find it in your project. Is kioskapp is a component you use an absolute path in your import statement? If so, you'll need to set up custome module resolution so Bit can parse the import statement correctly. If it's a package, please make sure it is installed correctly.

itaymendel avatar Apr 25 '19 08:04 itaymendel

Yeah, that was the issue - solved before!

Thanks!

nadzic avatar Apr 25 '19 08:04 nadzic