Skip to content

How to compat about react package that is connected by github sub-module. #4476

Answered by rschristian
MTtankkeo asked this question in Q&A
Discussion options

You must be logged in to vote

I'd recommend ditching npm link for something like yalc as it's much closer to real-world usage and fixes some of the major problems npm link has, especially around dependencies. The problem is that npm link, as you've discovered, resolves dependencies against the linked module (so react-widgets, in this case). This isn't how modules work in any other scenario, it's a flawed by design utility.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@MTtankkeo
Comment options

@rschristian
Comment options

@MTtankkeo
Comment options

Answer selected by MTtankkeo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants