https://cypress.io logo
How to npm link the cypress package?
# i-need-help
f
I have read the contributing readme.md and it does not say anything about this. I I am new to open source contributing and was wondering how one would use the cypress packages that they changes in a real cypress application for testing purposes. I have forked the main cypress repo and applied some changes to it and I would like to see if those changes caused any issues on a dummy application that is using cypress I heard about using npm link on a package, then applying that package elsewhere, but I am getting an error Photo 1 is me applying npm link the cypress project with changes that I made Photo 2 is me getting the link from a different project Photo 3 is me running cypress in that different project

https://cdn.discordapp.com/attachments/1097346357393641562/1097346357775302776/image.png

https://cdn.discordapp.com/attachments/1097346357393641562/1097346358098280508/image.png

https://cdn.discordapp.com/attachments/1097346357393641562/1097346358358331482/image.png

m
Hey @fresh-zebra-34262. Thanks for the question.
npm-link
is notoriously finicky, I've always had trouble with it and have found that the equivalent using
yarn
always seemed to have the desired affect without the friction. However, I'm not clear what the ultimate goal here is. Can you describe what you're trying to do in more detail?