keptn-sandbox / new-keptn-docs-engine

GSoC 2022 Project: New Documentation Site Engine
https://keptn-experimental-docs-site.netlify.app/
Apache License 2.0
6 stars 2 forks source link

`yarn` needs >=16.14 version of node engine but it isn't specified in the README #26

Closed vadasambar closed 1 year ago

vadasambar commented 2 years ago

Summary

The yarn we use in the docs engine is dependent on >= 16.14 version of node but it is not specified in the README.

vadasambar commented 2 years ago

On Ubuntu 20.04

This worked for me:

  1. Install 16.x version of node
sudo apt-get install curl
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt install nodejs

Installs node version v16.17.0 and npm version 8.15.0 Ref: https://tecadmin.net/install-latest-nodejs-npm-on-ubuntu/

  1. Enable yarn using corepack
sudo corepack enable
corepack prepare yarn@stable --activate
$ yarn -v
3.2.3