react-metrics icon indicating copy to clipboard operation
react-metrics copied to clipboard

Error in Router basic example

Open stevearoonie opened this issue 7 years ago • 1 comments

Hi there,

I've just cloned the repo and am running the examples. Everything works fine except for the React Router / Basic Example. Clicking on the "Basic Example" link gives the following error:

Uncaught TypeError: (0 , _reactMetrics2.default) is not a function
    at Object.677 (react-router_basic.js:4716)
    at __webpack_require__ (bootstrap 114f31eaf14d44e3980b:52)
    at Object.628 (app.js:17)
    at __webpack_require__ (bootstrap 114f31eaf14d44e3980b:52)
    at Object.0 (react-router_basic.js:8)
    at __webpack_require__ (bootstrap 114f31eaf14d44e3980b:52)
    at webpackJsonpCallback (bootstrap 114f31eaf14d44e3980b:23)
    at react-router_basic.js:1

Given I didn't do anything other than npm install, npm run examples I hope that is enough for you. Otherwise let me know if you need more info.

stevearoonie avatar Jan 24 '18 23:01 stevearoonie

Thanks for the note @stevearoonie. The "Basic Example" is fixed in PR #56, but a few other things still need to happen before that PR is ready for merging. Hoping to wrap it up soon.

potench avatar Jan 30 '18 20:01 potench