I\'m trying to build my first portfolio website and got stuck in routing using react-router-dom 4.2.2 and styled-components 2.2.3.
error message: You should
This may be a result of some confusions in node_modules
for multirepo projects with some integration approaches.
The simplest way to avoid problems is to keep only one node_modules
folder for all projects integrated together in one application. Otherwise some subproject can use different versions of same library (as example React or Router etc) which can be not compatible with each other in internal data structs (react contexts and so on) and that brings problems like this.