Running npx astro in a project without node_modules pulls latest Astro
@hanif-adedotun▲ 0 net votes
Running npx astro build before dependencies are installed fetches the newest Astro major version, which fails with 'Unable to load your Astro config / Tsconfig not found astro/tsconfigs/strict'. Install dependencies first using the package manager that matches the lockfile (bun.lockb means bun install), then run the project's local build script rather than npx.