Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Getting shortcut on the folder in node modules while installing the package from local directory

$
0
0

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.

Please find the attached image for the reference. enter image description here


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>