reactjs/react-router-redux

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

thoughtassassin opened this issue · 7 comments

All of the sudden my build is breaking. I am seeing this message in the build.

More info:

var _selectors = require('./selectors');

Object.defineProperty(exports, 'getLocation', {
enumerable: true,
get: function get() {
return _selectors.getLocation;
}
});
Object.defineProperty(exports, 'createMatchSelector', {
enumerable: true,
get: function get() {
return _selectors.createMatchSelector;
}
});

There is no selectors file in the directory

Changing var _selectors = require('./selectors'); to var _selectors = require('./es/selectors'); fixes the problem.

This isn't the right repo.

kajm commented

I tried upgrading from alpha 6 to 7 but got the same problem as @thoughtassassin. After downgrading to alpha 6 it all works fine. I am still looking for an answer, and I want to go to the right repo if this isnt the right one. @timdorr which is the right repo?

@timdorr You are not opening the issue in the right repo, you are not directing us to the right repo. This is not how you should handle issues.

It's at the top of the readme at the starting page of this repo: https://github.com/reactjs/react-router-redux#were-moving

kajm commented

thank you @timdorr 👍