Skip to content

[Graphql] Update node version #1318

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

Closed
2 of 3 tasks
lmacielvieira opened this issue Mar 17, 2023 · 4 comments · Fixed by #1354
Closed
2 of 3 tasks

[Graphql] Update node version #1318

lmacielvieira opened this issue Mar 17, 2023 · 4 comments · Fixed by #1354
Assignees

Comments

@lmacielvieira
Copy link
Contributor

lmacielvieira commented Mar 17, 2023

Update node.js version:

  • docker
  • staging
  • production
@lmacielvieira lmacielvieira self-assigned this Mar 17, 2023
@sergii-mamedov
Copy link
Contributor

JFYI: #637

@lmacielvieira
Copy link
Contributor Author

Install NVM (already installed)

curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash 
source ~/.bashrc   

Upgrade to the new version (v16.20)

v18 is the LTS, but it is not compatible with ubuntu 18.04.

# Install the version
nvm install 16.20.0

# Set 16.20.0 as default
nvm alias default 16.20.0

# Update default version to be used
nvm use default

@sergii-mamedov
Copy link
Contributor

sergii-mamedov commented May 8, 2023

I see next on logs:

npm notice 
npm notice New major version of npm available! 8.19.4 -> 9.6.6
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.6
npm notice Run npm install -g [email protected] to update!
npm notice 

I think it is necessary to update npm too?
@lmacielvieira

@lmacielvieira
Copy link
Contributor Author

I see next on logs:

npm notice 
npm notice New major version of npm available! 8.19.4 -> 9.6.6
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.6
npm notice Run npm install -g [email protected] to update!
npm notice 

I think it is necessary to update npm too? @lmacielvieira

For now let's leave this version, which is matching to node v16. Once we update to the latest node, after updating ubuntu, we also update the npm.

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 a pull request may close this issue.

2 participants