Skip to content

[Website] Upgrade all dependencies. Use React 14. - #4570

Closed
christopherdro wants to merge 0 commit into
react:masterfrom
christopherdro:website-update
Closed

[Website] Upgrade all dependencies. Use React 14.#4570
christopherdro wants to merge 0 commit into
react:masterfrom
christopherdro:website-update

Conversation

@christopherdro

Copy link
Copy Markdown
Contributor

Required changes to get website running locally.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

By analyzing the blame information on this pull request, we identified @vjeux, @tadeuzagallo 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 Dec 4, 2015
@vjeux

vjeux commented Dec 4, 2015

Copy link
Copy Markdown
Contributor

Feel free to merge if the site is still running, lgtm

@ide

ide commented Dec 4, 2015

Copy link
Copy Markdown
Contributor

The test failed, here's the relevant bits of the error...

Bundling 161 JS files for /react-native/404.html   -   HTML blocks UI, JS Gen does not
HTML Gen:        
Error: SyntaxError: Unexpected token :
    at /Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/guard.js:27:12
    at onOutputGenerated (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/index.js:96:9)
    at Object.renderReactPage.done (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/DefaultRouter.js:345:7)
    at renderReactPage (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/renderReactPage.js:130:17)
    at renderComponentPackage (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/DefaultRouter.js:331:3)
    at routePackageHandler (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/DefaultRouter.js:274:5)
    at onComputePackage (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/index.js:100:9)
    at /Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/guard.js:29:10
    at onWarmed (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/Packager.js:270:9)
    at /Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/node_modules/async/lib/async.js:116:25
    at /Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/node_modules/async/lib/async.js:24:16
    at transformModuleImpl (/Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/Packager.js:206:5)
    at /Users/travis/build/facebook/react-native/website/node_modules/react-page-middleware/src/Packager.js:234:9
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

That's about as specific as it gets unfortunately.

@christopherdro
christopherdro force-pushed the website-update branch 2 times, most recently from 941df66 to f54c9c6 Compare December 5, 2015 00:27
@christopherdro

Copy link
Copy Markdown
Contributor Author

@ide No real luck yet trying to figure out whats going on. Running node /server/generate.js doesn't reproduce any errors. The only real difference i've been able to notice is where locally its shows
Bundling 160 JS files for /react-native/404.html whereas on Travis is shows Bundling 161 JS files for /react-native/404.html.

@christopherdro
christopherdro force-pushed the website-update branch 2 times, most recently from bf0c0a9 to 7b654b1 Compare December 6, 2015 07:33
@facebook-github-bot

Copy link
Copy Markdown
Contributor

@christopherdro updated the pull request.

@christopherdro
christopherdro force-pushed the website-update branch 3 times, most recently from 6457de8 to 0a88adb Compare December 6, 2015 18:55
@christopherdro

Copy link
Copy Markdown
Contributor Author

So the build for the website passes when using Node 5 instead of 4 on travis.
However, this causes the obj-c test to fail.

I also attempted to switch to the latest version of xcode 7.1 and came across facebookarchive/xctool#619. This is probably worth opening up a separate issue but I just wanted to reference it here first.

Will continue looking into it.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@christopherdro updated the pull request.

@christopherdro

Copy link
Copy Markdown
Contributor Author

@vjeux @ide
Looks like the website test is passing now. I ran the test a few times to double check.

@vjeux

vjeux commented Dec 30, 2015

Copy link
Copy Markdown
Contributor

@skevy was looking into it today. Can you review? Lgtm

@skevy

skevy commented Dec 30, 2015

Copy link
Copy Markdown
Contributor

I'll merge in the morning.

Tomorrow (or over he holiday) I'm going to actually go through and modernize this website codebase a bit...but this PR is a good first step. Gracias @christopherdro

@christopherdro

Copy link
Copy Markdown
Contributor Author

👍 Sounds good! Thanks @skevy

@christopherdro

Copy link
Copy Markdown
Contributor Author

@skevy Any updates? Would like to get this merged in.

@satya164

satya164 commented Jan 2, 2016

Copy link
Copy Markdown
Contributor

There are conflicts now!

@christopherdro

Copy link
Copy Markdown
Contributor Author

Ya thats from #5080 being merged in

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@christopherdro updated the pull request.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@christopherdro updated the pull request.

@christopherdro

Copy link
Copy Markdown
Contributor Author

Not sure what happened here. I guess just forget about this PR.

@christopherdro
christopherdro deleted the website-update branch January 2, 2016 17:04
@skevy

skevy commented Jan 2, 2016

Copy link
Copy Markdown
Contributor

@christopherdro sorry about that. I honestly just got busy with the holidays and forgot. :(

Did #5080 fix the same things as this PR...or do we still need to do what's in here?

@christopherdro

Copy link
Copy Markdown
Contributor Author

It appears #5080 had a few of the same changes but mine were based on upgrading React to 0.14.5 and all other dependencies to the their latest versions.

I tried rebasing to master and resolve the merge conflicts but screwed up on something.

@vjeux

vjeux commented Jan 2, 2016

Copy link
Copy Markdown
Contributor

You guys all have commit access, feel free to merge it in whenever this is working

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.

6 participants