Install make
You will probably need build essential tools
# Ubuntu install build tools:
sudo apt-get install -y build-essential
Install Node.js
Node installation instructions
The instructions for Ubuntu/Debian:
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
Setup NPM
Avoid having to use sudo
with npm on Ubuntu:
# Make a local directory for NPM
mkdir ~/.npm-global
# Configure NPM to use npm-global for non-root access
npm config set prefix '~/.npm-global'
# Add .npm-global/bin to $PATH
# Change ~/.profile to ~/.zshrc if you are running in zsh shell like on macos
echo 'export PATH="$HOME/.npm-global/bin:$PATH"' >> ~/.profile
# Update the local $PATH (don't forget the leading . with a space after it)
. ~/.profile
For the PATH line under emacs, clarify that the line should be added to the file, not as a replacement for any other existing PATH definitions that may be present on a raspiblitz.