-
-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Description
step1
npm install -g yo generator-react-webpack-redux
step2
# Create a new directory, and `cd` into it:
mkdir my-new-project && cd my-new-project
# Run the generator
yo react-webpack-redux
now if you npm start it works.
step3
npm i react-router react-router-proxy-loader -S
step4
modify index.js and add
import 'react-router';
import 'react-router-proxy-loader';
then it throw error above
the error code is
Line 5 in ee056c9
| var emojiList = require("emojis-list").filter(function(emoji) { |
var emojiList = require("emojis-list").filter(function(emoji) {
return emojiRegex.test(emoji)
});
step5
modify index.js:
import 'react-router';
// import 'react-router-proxy-loader';
there is no error again
I think there are some conflicts between webpack loader-utils emojis-list and react-router-proxy-loader
Metadata
Metadata
Assignees
Labels
No labels