Install Yarn Package Manager

node.js

Yarn is a package manager for JavaScript like npm. It is commonly used for managing dependencies for Node.js applications, but it can also be used for front-end development with frameworks like Rmeact, Angular, and Vue.js. To install the Yarn package manager on ubuntu, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg –dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null … Read more

gridsome error:03000086:digital envelope routines::initialization error

node.js

When starting a gridsome project on Ubuntu 20.04 with Node.js version v18.10.0, it failed with the error message “error:03000086:digital envelope routines::initialization error”. boby@sok-01:~/www/learn/gridsome/my-gridsome-site$ gridsome develop Gridsome v0.7.23 Initializing plugins… Load sources – 0s Create GraphQL schema – 0.03s Create pages and templates – 0.03s Generate temporary code – 0.03s Bootstrap finish – 0.56s 10% building … Read more

How to Install Yarn Package Manager on Ubuntu

node.js

Yarn is a javascript package manager like npm. Import the GPG key curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg –dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null Add the repository echo “deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main” | sudo tee /etc/apt/sources.list.d/yarn.list Instal yrarn with apt sudo apt-get update && sudo apt-get install yarn See Node.js