react-router-redux missing ./selectors

Created on 18 Oct 2017  ยท  2Comments  ยท  Source: ReactTraining/react-router

Version

5.0.0-alpha.7

(I couldn't get it working on codesandbox)
On our build jest is complaining it can't find module selectors.

  โ— Test suite failed to run

    Cannot find module './selectors' from 'index.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:179:17)
      at Object.<anonymous> (node_modules/react-router-redux/index.js:6:18)

Based on grepping i find:
node_modules/react-router-redux/index.js:var _selectors = require('./selectors');
but only the file exists:
node_modules/react-router-redux/es/selectors.js

Most helpful comment

All 2 comments

Dupe of #5636

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yormi picture yormi  ยท  3Comments

winkler1 picture winkler1  ยท  3Comments

alexyaseen picture alexyaseen  ยท  3Comments

jzimmek picture jzimmek  ยท  3Comments

Waquo picture Waquo  ยท  3Comments