Am trying to create an new library and trying to add in my project, my library source is in below path file:../react-native-svm-camera
.
In my package.json inside the directory i have "dependencies": {
"react": "16.9.0",
"react-native": "0.61.5",
"svm-camera": "file:../react-native-svm-camera"
}
Am installing the above as react-native install react-native-svm-camera
, the package got successfully installed and am able to view in the node modules.But the problem is the folder is viewed as shortcut and getting error when importing the module.
What is the reason for getting shortcut in the folder? correct me if anything wrong in the implementation.