-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Low pri] Fix build for node v12.4.0 #1181
Conversation
The README still says that we need to use node |
This is still low priority but would help stay in sync with gutenberg as it now targets the latest npm. |
@@ -130,13 +131,14 @@ | |||
"js-beautify": "^1.7.5", | |||
"jsc-android": "236355.x.x", | |||
"jsdom-jscore": "git+https://github.com/iamcco/jsdom-jscore-rn.git#a562f3d57c27c13e5bfc8cf82d496e69a3ba2800", | |||
"jsdom-jscore-rn": "git+https://github.com/iamcco/jsdom-jscore-rn.git#a562f3d57c27c13e5bfc8cf82d496e69a3ba2800", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, do we have to have 2 lines/deps here even though they point to the very same commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was added automatically by yarn upgrade
, probably because the package it's pointing at was renamed jsdom-jscore-rn
.
I think we should keep jsdom-jscore-rn
only and update the imports here https://github.com/wordpress-mobile/gutenberg-mobile/blob/develop/src/globals.js#L7
Updating 👍
Do tests run fine locally for you @Tug ? For most tests I get:
|
Yep they run fine for me. Could you maybe try |
Aha, I even though I don't use the nested |
Does this PR need to update the Gutenberg hash? Let's remove that change if not. |
Updated 👍 |
Tested on both node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Fixes build errors on node v12.4.0
To test:
nvm install --latest-npm
yarn start:reset
Update release notes:
RELEASE-NOTES.txt
.