start-dev-server
Installation
SKILL.md
Start Dev Server
This skill provides a robust way to start a development server, particularly tailored for Termux (Android) environments where certain dependencies might fail to install.
Workflow
When asked to start the development server, follow these steps:
-
Check
package.jsonfor unsupported dependencies:- On Android/Termux environments, the
supabaseCLI package fails to install because there are no pre-built binaries forandroid arm64. - If
supabaseis present indevDependenciesordependenciesinpackage.json, use thereplacetool to remove it before runningnpm install.
- On Android/Termux environments, the
-
Install Dependencies:
- Projects using React 19 often face peer dependency conflicts with packages like
react-helmet-asyncor@tanstack/react-query. - Run the installation with the
--legacy-peer-depsflag to bypass these conflicts, and use--no-audit --no-fundto speed up the process:npm install --legacy-peer-deps --no-audit --no-fund
- Projects using React 19 often face peer dependency conflicts with packages like