bit
bit copied to clipboard
React Native export components issue
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
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]
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.
Yeah, that was the issue - solved before!
Thanks!