You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using node-fetch in my library and that is not installed in my react-native project. When it uses the api call in my library it looks for the node-fetch library to be installed inside node_modules/myLibrary/node_modules/node-fetch and it isn't there. I've been trying to come up with a way to do this, but the best I've been able to do is to get node_modules/node-fetch into the build folder of the app when it needs to be in the root level of the package to satisfy the app.
Is there a way where dependencies could be added to the tarball? Installing them in the folder of my react-native app is one way, but as soon as a change is made to the library the tar copies over what was in the directory requiring another time consuming install. If it could just copy the installed node_modules package into a node modules folder in the tarball it would work for me.
Thoughts? Great library.
Thanks.
The text was updated successfully, but these errors were encountered:
I'm using node-fetch in my library and that is not installed in my react-native project. When it uses the api call in my library it looks for the node-fetch library to be installed inside
node_modules/myLibrary/node_modules/node-fetch
and it isn't there. I've been trying to come up with a way to do this, but the best I've been able to do is to getnode_modules/node-fetch
into the build folder of the app when it needs to be in the root level of the package to satisfy the app.Is there a way where dependencies could be added to the tarball? Installing them in the folder of my react-native app is one way, but as soon as a change is made to the library the tar copies over what was in the directory requiring another time consuming install. If it could just copy the installed
node_modules
package into a node modules folder in the tarball it would work for me.Thoughts? Great library.
Thanks.
The text was updated successfully, but these errors were encountered: