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

add .nvmrc to specify Node version to LTS #586

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

kutta97
Copy link
Contributor

@kutta97 kutta97 commented Jul 24, 2023

What this PR does / why we need it?

To prevent npm install errors when using Node.js versions other than LTS,
added an .nvmrc file that specifies the node version to LTS.

Any background context you want to provide?

I've run into an npm install error while trying to install yorkie-js-sdk for the first time.
I realized that it was due to a node version issue, as I was using the latest node version.

image

I have added an .nvmrc file that sets the node version to the LTS version for the project to avoid inconvenience for others facing the same node version issue.

What are the relevant tickets?

Fixes #585

Checklist

  • Added relevant tests or not required
  • Didn't break anything

To prevent npm install errors when using Node.js versions other than LTS,
added an .nvmrc file that specifies the node version to LTS.
@CLAassistant
Copy link

CLAassistant commented Jul 24, 2023

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Jul 25, 2023

Codecov Report

Merging #586 (3e215ed) into main (c12ef25) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #586   +/-   ##
=======================================
  Coverage   87.47%   87.47%           
=======================================
  Files          81       81           
  Lines        7937     7937           
  Branches      817      817           
=======================================
  Hits         6943     6943           
  Misses        680      680           
  Partials      314      314           

@hackerwins hackerwins self-requested a review July 27, 2023 00:44
.nvmrc Outdated Show resolved Hide resolved
@hackerwins hackerwins merged commit c53dd71 into yorkie-team:main Jul 27, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

suggestion: prevent node version issue with using .nvmrc
3 participants