Skip to content
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

chore(node): Upgrade node dependency to 12.x #1875

Merged
merged 7 commits into from
Jan 24, 2020

Conversation

j3tan
Copy link
Contributor

@j3tan j3tan commented Jan 23, 2020

This commit also removes a duplicate node-sass version from yarn.lock

If you run encounter an issue with yarn install such as:

node-pre-gyp ERR! command \"/Users/jtan/.nvm/versions/node/v12.14.1/bin/node\" \"/Users/jtan/box/box-ui-elements/node_modules/sass-variable-parser/node_modules/fsevents/node_modules/node-pre-gyp/bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"

Verify you have node@12 installed via nvm and remove node_modules/sass-variable-parser

$ node -v
v12.14.1
$ rm -fr node_modules/sass-variable-parser
$ yarn install

This commit also removes a duplicate node-sass version from yarn.lock
@j3tan j3tan requested a review from a team January 23, 2020 02:13
@boxcla
Copy link

boxcla commented Jan 23, 2020

Verified that @j3tan has signed the CLA. Thanks for the pull request!

@j3tan
Copy link
Contributor Author

j3tan commented Jan 23, 2020

Also a question on whether we need to upgrade node engine in package.json to >=12.x though it should work fine still with both 8.x and 10.x

@@ -18618,31 +18564,6 @@ node-sass@^4.13.1:
stdout-stream "^1.4.0"
"true-case-path" "^1.0.2"

node-sass@^4.9.3:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the duplicate yarn.lock that causes issues if you try to yarn install on node@12.x

jstoffan
jstoffan previously approved these changes Jan 23, 2020
.travis.yml Outdated Show resolved Hide resolved
jstoffan
jstoffan previously approved these changes Jan 23, 2020
jstoffan
jstoffan previously approved these changes Jan 23, 2020
package.json Show resolved Hide resolved
BREAKING CHANGE: Minimum version of node for box-ui-elements bumped to 10.x
priyajeet
priyajeet previously approved these changes Jan 23, 2020
@@ -12837,21 +12791,13 @@ fs.realpath@^1.0.0:
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=

fsevents@^1.2.2:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also had Node 12 issue

@mergify mergify bot merged commit 4fba5ad into box:master Jan 24, 2020
ehoogerbeets pushed a commit to ehoogerbeets/box-ui-elements that referenced this pull request Feb 5, 2020
* chore(node): Upgrade node dependency to 12.x

This commit also removes a duplicate node-sass version from yarn.lock

* ci(node): Upgrade node to 12 on CI machines

* ci: Remove travis references

* docs: Remove travis references

* chore(node): Bump minimum node version to 10.x

BREAKING CHANGE: Minimum version of node for box-ui-elements bumped to 10.x

* chore(node): Removed old version of fsevents from yarn.lock

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants