diff --git a/packages/react-scripts/config/webpack.config.dev.js b/packages/react-scripts/config/webpack.config.dev.js
index 8e264d40286f1b0ffb13a05a6d2b1d57ce3b1b00..87eba9884ddbe81b644abf22e929599a2700f34b 100644
--- a/packages/react-scripts/config/webpack.config.dev.js
+++ b/packages/react-scripts/config/webpack.config.dev.js
@@ -72,6 +72,12 @@ module.exports = {
     publicPath: publicPath
   },
   resolve: {
+    // This ensures that create-react-app's node_modules are first checked before
+    // other module locations (e.g. NODE_PATH). Without this, if NODE_PATH has
+    // the same module, webpack will use it before the dependency specified in our
+    // node modules.
+    // https://github.com/facebookincubator/create-react-app/issues/1023
+    root: paths.ownNodeModules,
     // This allows you to set a fallback for where Webpack should look for modules.
     // We read `NODE_PATH` environment variable in `paths.js` and pass paths here.
     // We use `fallback` instead of `root` because we want `node_modules` to "win"
diff --git a/packages/react-scripts/config/webpack.config.prod.js b/packages/react-scripts/config/webpack.config.prod.js
index 60016896892cdd40efb02634bd77607a557bb099..4037a46c3fc725d6949191cc9be27fb548532594 100644
--- a/packages/react-scripts/config/webpack.config.prod.js
+++ b/packages/react-scripts/config/webpack.config.prod.js
@@ -80,6 +80,12 @@ module.exports = {
     publicPath: publicPath
   },
   resolve: {
+    // This ensures that create-react-app's node_modules are first checked before
+    // other module locations (e.g. NODE_PATH). Without this, if NODE_PATH has
+    // the same module, webpack will use it before the dependency specified in our
+    // node modules.
+    // https://github.com/facebookincubator/create-react-app/issues/1023
+    root: paths.ownNodeModules,
     // This allows you to set a fallback for where Webpack should look for modules.
     // We read `NODE_PATH` environment variable in `paths.js` and pass paths here.
     // We use `fallback` instead of `root` because we want `node_modules` to "win"