DEV Community

Discussion on: How to handle peer dependencies when developing modules

 
sevenzark profile image
Dave M

Okay, I got it to work with npm by appending the force flag (-f), so my script command is now "install-peers -f". Seems to be a bug in the library and there is an open github issue already about this.

Thread Thread
 
urrutiamartin profile image
Urrutia Martin

You can use "postinstall": "install-peers", this command run after the package is installed.
This work for me.