react-ga [demo] npm ERR! notarget No matching version found for react-router-dom@4.4.0.

github.com

demo fileを $ npm install した時のerror

対処方法

  • package.jsonの以下を削除
    "react-router": "4.4.0",
    "react-router-dom": "4.4.0",
$ npm install
  • manual install : react-router-dom

www.npmjs.com

$ npm install --save react-router-dom

実行

$ npm start

localhost:8080で接続

おわり