|
@@ -0,0 +1,52 @@
|
|
|
+# First Run Issues
|
|
|
+
|
|
|
+## "Cannot find package '@heyputer/backend'"
|
|
|
+
|
|
|
+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 โ
|
|
|
+โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
|
+```
|
|
|
+
|
|
|
+1. Ensure you have run `npm install`.
|
|
|
+2. [Install build essentials for your distro](#installing-build-essentials)
|
|
|
+
|
|
|
+## Installing Build Essentials
|
|
|
+
|
|
|
+### Debian-based distros
|
|
|
+
|
|
|
+```
|
|
|
+sudo apt update
|
|
|
+sudo apt install build-essential
|
|
|
+```
|
|
|
+
|
|
|
+### RHEL-family distros (Fedora, Rocky, etc)
|
|
|
+
|
|
|
+```
|
|
|
+sudo dnf groupinstall "Development Tools"
|
|
|
+```
|
|
|
+
|
|
|
+### "I use Arch btw"
|
|
|
+
|
|
|
+```
|
|
|
+sudo pacman -S base-devel
|
|
|
+```
|
|
|
+
|
|
|
+### Alpine
|
|
|
+
|
|
|
+If you're running in Puter's Alpine image then this is already installed.
|
|
|
+
|
|
|
+```
|
|
|
+sudo apk add build-base
|
|
|
+```
|
|
|
+
|
|
|
+### Gentoo
|
|
|
+
|
|
|
+You know what you're doing; you just wanted to see if we mentioned Gentoo.
|