Skip to content

Fix issues running the website locally on windows with npm3 - #5080

Merged
vjeux merged 1 commit into
react:masterfrom
janicduplessis:website-windows
Jan 2, 2016
Merged

Fix issues running the website locally on windows with npm3#5080
vjeux merged 1 commit into
react:masterfrom
janicduplessis:website-windows

Conversation

@janicduplessis

Copy link
Copy Markdown
Contributor

I had a few issues running the website locally on Windows with npm3.

Windows issues

packager/blacklist.js

The packager was not properly ignoring the website node_modules which caused errors with the haste modules.

website/server/convert.js

splitHeader didn't work properly because of \r\n

npm3 issues

Not 100% sure about this one but the website used react@0.12 while react-page-middleware used react-tools @0.13. Updating react to 0.13 fixed the problem. I also fixed some warning about not using factory functions by using jsx instead and remove the transferPropsTo call that doesn't exist anymore in react@0.13.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

By analyzing the blame information on this pull request, we identified @vjeux, @spicyj and @fkling to be potential reviewers.

@facebook-github-bot facebook-github-bot added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Jan 2, 2016
vjeux added a commit that referenced this pull request Jan 2, 2016
Fix issues running the website locally on windows with npm3
@vjeux
vjeux merged commit f39d45e into react:master Jan 2, 2016
@vjeux

vjeux commented Jan 2, 2016

Copy link
Copy Markdown
Contributor

Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants