Scenario: You see the following output:
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Cannot find package '@heyputer/backend' β
β π this usually happens if you forget `npm install` β
β Suggestions: β
β - try running `npm install` β
β Technical Notes: β
β - @heyputer/backend is in an npm workspace β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
npm install.npm install again.sudo apt update
sudo apt install build-essential
sudo dnf groupinstall "Development Tools"
sudo pacman -S base-devel
If youβre running in Puterβs Alpine image then this is already installed.
sudo apk add build-base
You know what youβre doing; you just wanted to see if we mentioned Gentoo.
In order to get it to work on FreeBSD, you will need to build sharp from source and link it to the project.
pkg install vips
git clone --depth=1 https://github.com/lovell/sharp.git
cd sharp
yarn install
sudo npm link
After npm install you can link the prebuilt module
# cd puter
# npm install
npm link sharp
npm start