From ec24c63e86a98cf8b117eedb6329980564d7b5f8 Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Fri, 11 Mar 2016 05:59:47 -0800 Subject: [PATCH] Update node-haste and replace fast-path with node-haste's version to fix Windows compatibility Summary:This is the last bits needed to fix Windows compatibility on master, most of the work was done in node-haste. **Test plan** Run npm test Run the packager using Windows and Mac cc cpojer davidaurelio Closes https://github.com/facebook/react-native/pull/6260 Reviewed By: dmmiller, bestander Differential Revision: D3005397 Pulled By: davidaurelio fb-gh-sync-id: e16847808ebfa8b234315b2093dba204c9c1e869 shipit-source-id: e16847808ebfa8b234315b2093dba204c9c1e869 --- react-packager/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-packager/index.js b/react-packager/index.js index dce805c8..49848ede 100644 --- a/react-packager/index.js +++ b/react-packager/index.js @@ -10,7 +10,7 @@ require('../babelRegisterOnly')([/react-packager\/src/]); -require('fast-path').replace(); +require('node-haste/lib/fastpath').replace(); useGracefulFs(); var debug = require('debug');