platform icon indicating copy to clipboard operation
platform copied to clipboard

react-native link react-native-auth0 for an extension

Open maithuy opened this issue 7 years ago • 0 comments

Hi,

I have a custom extension that uses a few packages (eg. react-native-auth0) and I need to link them to react-native. At the moment, the packages are installed in developer.extensionName/app, and when I run react-native link in the extension app folder, it complains, see the below error message

Command link unrecognized. Make sure that you have run npm install and that you are inside a react-native project.

Followed this https://shoutem.github.io/docs/extensions/tutorials/installing-3rd-party-packages and native packages are not linked.

Is there a way to make the extension's packages known to the react-native project root?

Thanks.

maithuy avatar Feb 13 '19 00:02 maithuy