Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I run this package locally? #125

Open
bigyank opened this issue Sep 25, 2021 · 1 comment
Open

How do I run this package locally? #125

bigyank opened this issue Sep 25, 2021 · 1 comment

Comments

@bigyank
Copy link

bigyank commented Sep 25, 2021

I tried cloning the repo and did yarn link and unlink but It didn't work, there must be some steps I am missing in between,
can someone helo me, please!

@topherPedersen
Copy link

topherPedersen commented Jul 25, 2022

@bigyank, I had a similar issue which I resolved the other day. What you want to do is fork the repo here on GitHub. Then in the package.json for your example/playground app, add react-native-walkthrough-tooltip and replace the version number with a reference to your github link. the line in your package.json will look like:

"react-native-walkthrough-tooltip": "git+https://[email protected]/yourUserName/react-native-walkthrough-tooltip.git#86c118480538d51791b597f8d413e50326742bd9",

Make sure to specify which specific commit you want to reference. Then run $ npm install or $ yarn install.

Note: There will be two repos on your machine. One will be react-native-walkthrough-tooltip. And the second repo will be your example/playground app which will import your fork of react-native-walkthrough-tooltip which you can use for testing your changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants