Error: command not found: pnpm
Solution:
- Ensure you have Node.js installed.
- Enable Corepack:
corepack enable(Node.js >= 16.9.0). - Or install globally:
npm install -g pnpm.
Error: Typescript errors during pnpm build.
Solution:
- Clean the artifacts:
pnpm run clean. - Install dependencies again:
pnpm install. - Build:
pnpm build. - If errors persist, check
pnpm build --verboseoutput for specific package errors.
Error: Error: Unknown command or similar.
Solution:
- Check that you are passing the correct arguments.
- Refer to
pnpm start --help. - Ensure the CLI package (
@forge-ts/cli) is built (pnpm --filter @forge-ts/cli run build).
To get more verbose output, you can set the LOG_LEVEL environment variable:
LOG_LEVEL=debug pnpm start ...