Update node-haste and replace fast-path with node-haste's version to fix Windows compatibility#6260
Update node-haste and replace fast-path with node-haste's version to fix Windows compatibility#6260janicduplessis wants to merge 1 commit intofacebook:masterfrom
Conversation
|
By analyzing the blame information on this pull request, we identified @cpojer, @davidaurelio and @martinbigio to be potential reviewers. |
|
@facebook-github-bot shipit |
|
Thanks for importing. If you are an FB employee go to Phabricator to review. |
|
@janicduplessis will have to take care of the node_modules updates internally first. Will look into it in a few. Maybe we could even get Travis back to green this morning before merging this |
|
This has internal errors. no idea whether it’s flakiness or really broken :-( |
|
Hmm the tests on circleci fails with this Looks like the node-haste version doesn't get updated properly. |
|
Also the UIExplorer app is broken since a few commits, the tests on travis seems to fail because of that. If you have any internal tests that depend on that is may be why it fails. |
|
The UIExplorer have been reverted in the meantime afaik. @bestander is having a look at this now |
|
@janicduplessis I would appreciate if you rebase. |
|
@janicduplessis updated the pull request. |
|
JS does not look good in tests |
|
I can confirm that it stills install node-haste@2.4 even if I changed the package.json. Is that caused by npm shrinkwrap? I'm not sure how that works as I've never used it before. From the npm install logs. |
|
@janicduplessis package.json is completely ignored when shrinkwrap is present. |
8928b0a to
9e9a381
Compare
|
@janicduplessis updated the pull request. |
|
Aww, e2e test on iOS fails with |
|
Ok the issue seems to happen because of a regression in node-haste 2.5.0 it tries to find the index of a new app in |
|
Ok I was able to track down the bug to this change in node-haste, I'll check what is up with that. facebookarchive/node-haste@9673f86#diff-1fdf421c05c1140f6d71444ea2b27638L198 |
|
Also I'm not sure if I updated the npm-shrinkwrap.json file properly the diff seems a bit too huge :) I did that using npm 2.14 Not running |
|
@janicduplessis I'm just merging #6346 which updates to a newer version. Should this PR be rebased or closed (not sure about the change in |
|
I'm pretty sure the change in packager/react-packager/index.js is still needed. I'll rebase and test once #6346 is merged. |
|
I think you're right @janicduplessis. Thanks for looking into this :) |
Windows compatibility
9e9a381 to
b7c5ded
Compare
|
@janicduplessis updated the pull request. |
|
@facebook-github-bot shipit |
|
Thanks for importing. If you are an FB employee go to Phabricator to review. |
|
@bestander @mkonicek you might want to cherry pick this for the release. It makes windows compat better |
…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 #6260 Reviewed By: dmmiller, bestander Differential Revision: D3005397 Pulled By: davidaurelio fb-gh-sync-id: e16847808ebfa8b234315b2093dba204c9c1e869 shipit-source-id: e16847808ebfa8b234315b2093dba204c9c1e869
…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 facebook/react-native#6260 Reviewed By: dmmiller, bestander Differential Revision: D3005397 Pulled By: davidaurelio fb-gh-sync-id: e16847808ebfa8b234315b2093dba204c9c1e869 shipit-source-id: e16847808ebfa8b234315b2093dba204c9c1e869
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