Open GZWZC opened 7 years ago
+1
+1
+1
+1
+1
+1
+1
Im getting this error
+1
I've found some solution, that works for me. In my opinion, router module is damaged, so I've removed whole node modules folder, and install again with another versions: "react": "^15.5.4", "react-router": "^3.0.2", I hope it will be helpful for you to.
Worked to downgrade! Thanks. At least I can continue.
Downgrade worked for me too. thanks
+1
@GolkowyBenQu Thanks this fixed it!
ncaught TypeError: Cannot read property 'location' of undefined at new Router (main.969d8.js:8215) at main.969d8.js:19965 at measureLifeCyclePerf (main.969d8.js:19745) at ReactCompositeComponentWrapper._constructComponentWithoutOwner (main.969d8.js:19964) at ReactCompositeComponentWrapper._constructComponent (main.969d8.js:19950) at ReactCompositeComponentWrapper.mountComponent (main.969d8.js:19858) at Object.mountComponent (main.969d8.js:3171) at ReactCompositeComponentWrapper.performInitialMount (main.969d8.js:20041) at ReactCompositeComponentWrapper.mountComponent (main.969d8.js:19928) at Object.mountComponent (main.969d8.js:3171)
"react-router": "^4.1.0",