Troubleshooting
Solutions to common issues when using Bootspring.
Installation Issues#
"Command not found: bootspring"#
The global npm bin directory isn't in your PATH.
Solution:
1# Find npm global bin path
2npm config get prefix
3
4# Add to PATH in ~/.bashrc or ~/.zshrc
5export PATH="$(npm config get prefix)/bin:$PATH"
6
7# Reload shell
8source ~/.bashrc # or ~/.zshrcAlternative - use npx:
npx bootspring init
npx bootspring generate"Permission denied" during install#
npm doesn't have permission to install globally.
Solution (macOS/Linux):
1# Option 1: Fix npm permissions
2mkdir -p ~/.npm-global
3npm config set prefix '~/.npm-global'
4echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.bashrc
5source ~/.bashrc
6npm install -g bootspring
7
8# Option 2: Use sudo (not recommended)
9sudo npm install -g bootspring"Node version not supported"#
Bootspring requires Node.js 18+.
Solution:
1# Check current version
2node --version
3
4# Install Node.js 20 LTS using nvm
5nvm install 20
6nvm use 20
7
8# Or download from nodejs.orgMCP Connection Issues#
"MCP server not connecting"#
Your AI assistant can't connect to the Bootspring MCP server.
Solutions:
- Check .mcp.json exists:
ls -la .mcp.json- Verify .mcp.json content:
1{
2 "mcpServers": {
3 "bootspring": {
4 "command": "npx",
5 "args": ["-y", "bootspring", "serve"]
6 }
7 }
8}-
Restart your AI assistant (Claude Code, Cursor, etc.)
-
Check if server starts manually:
npx bootspring serve- Verify Node.js is accessible:
which node
which npx"Bootspring tools not appearing"#
The MCP tools aren't showing in your AI assistant.
Solutions:
-
Restart your AI assistant completely
-
Check MCP configuration location:
- Claude Code:
.mcp.jsonin project root - Cursor:
~/.cursor/mcp.json - Continue: Check Continue settings
- Claude Code:
-
Verify with doctor:
bootspring doctor- Check server logs:
BOOTSPRING_DEBUG=true npx bootspring serve"Connection timeout"#
MCP server times out during requests.
Solutions:
- Increase timeout in config:
1// bootspring.config.js
2module.exports = {
3 server: {
4 timeout: 60000, // 60 seconds
5 },
6};- Check network connectivity:
ping api.bootspring.com- Verify API key is valid:
bootspring auth statusAuthentication Issues#
"Invalid API key"#
Your API key is rejected.
Solutions:
-
Check key format:
- Should start with
bsk_ - Example:
bsk_prod_abc123xyz
- Should start with
-
Verify key in dashboard:
- Visit bootspring.com/dashboard/keys
- Check if key is active
-
Regenerate key if needed:
- Dashboard → API Keys → Create Key
-
Set key in environment:
export BOOTSPRING_API_KEY=bsk_prod_your_key_here"Device limit reached"#
You've reached the maximum devices for your tier.
Solutions:
- Check device count:
bootspring auth status-
Remove unused devices:
- Dashboard → Devices → Disconnect
-
Upgrade your plan for more devices:
- Free: 2 devices
- Pro: 5 devices
- Team: 10 devices
"Authentication required"#
Commands fail because you're not logged in.
Solution:
bootspring auth loginThis opens your browser for authentication and project selection.
"Directory not linked to a project"#
The current directory doesn't have a .bootspring.json file.
Solution:
# Run login to link this directory to a project
bootspring auth login
# → Opens browser → Select/create project → Creates .bootspring.jsonOr if you're already authenticated:
# Switch to link this directory to a project
bootspring switch my-project"Wrong project context"#
Commands are using a different project than expected.
Solutions:
- Check current project:
bootspring auth status
# Shows: Project: my-app (from .bootspring.json)- Switch to correct project:
bootspring switch correct-project-
Check for conflicting configs:
.bootspring.jsonin current directorybootspring.config.jswith project settings- Session state in
~/.bootspring/
-
Clear and re-link:
bootspring switch context clear
bootspring auth loginContext Generation Issues#
"CLAUDE.md not generating"#
The context file fails to generate.
Solutions:
- Check write permissions:
touch CLAUDE.md- Force regeneration:
bootspring generate --force- Check for errors:
bootspring generate --verbose- Verify project structure:
- Must have
package.jsonor recognizable project files
- Must have
"Context missing my tech stack"#
Generated context doesn't include your framework.
Solutions:
- Specify stack explicitly:
1// bootspring.config.js
2module.exports = {
3 stack: {
4 frontend: ['react', 'nextjs', 'tailwindcss'],
5 backend: ['nodejs', 'express'],
6 database: ['postgresql', 'prisma'],
7 },
8};- Regenerate context:
bootspring generate --force"Context is too large"#
CLAUDE.md is too big, causing issues.
Solutions:
- Exclude unnecessary files:
1// bootspring.config.js
2module.exports = {
3 context: {
4 exclude: [
5 'node_modules/**',
6 '.git/**',
7 'dist/**',
8 'build/**',
9 'coverage/**',
10 '*.log',
11 ],
12 },
13};- Limit included sections:
bootspring generate --sections stack,commands,guidelinesAgent Issues#
"Agent not found"#
The specified agent doesn't exist.
Solutions:
- Check agent name:
bootspring agent list | grep frontend-
Use exact name:
- Correct:
frontend-expert - Wrong:
frontend,FrontendExpert
- Correct:
-
Check your tier:
- Some agents require Pro or Team tier
bootspring agent list --show-tier"Agent response seems generic"#
Agent isn't using project context.
Solutions:
- Regenerate context:
bootspring generate --force- Verify CLAUDE.md exists and has content:
cat CLAUDE.md | head -50- Be more specific in your request:
Instead of:
Use the frontend-expert to help with the form.
Try:
Use the frontend-expert to create a multi-step form with
React Hook Form, Zod validation, and Tailwind CSS styling,
following our existing component patterns.
"Pro agent not available"#
Trying to use an agent outside your tier.
Solution:
- Check which agents are available:
bootspring agent list- Upgrade to Pro for business agents:
- Visit bootspring.com/pro
Quality Gate Issues#
"Quality gate failing"#
Pre-commit or pre-push checks fail.
Solutions:
- See detailed errors:
bootspring quality pre-commit --verbose- Fix issues automatically (if possible):
bootspring quality pre-commit --fix- Skip specific checks temporarily:
1// bootspring.config.js
2module.exports = {
3 quality: {
4 'pre-commit': {
5 skip: ['format'], // Skip formatting check
6 },
7 },
8};"TypeScript errors blocking commit"#
TypeScript errors prevent quality gate from passing.
Solutions:
- Run TypeScript check manually:
npx tsc --noEmit-
Fix the errors or adjust tsconfig:
- Common issue: missing types for dependencies
-
Install missing type packages:
npm install -D @types/node @types/react"ESLint errors"#
Linting fails during quality checks.
Solutions:
- Run ESLint manually:
npx eslint . --ext .ts,.tsx- Auto-fix issues:
npx eslint . --ext .ts,.tsx --fix- Check ESLint config exists:
ls -la .eslintrc* eslint.config.*Workflow Issues#
"Workflow stuck"#
A workflow isn't progressing.
Solutions:
- Check workflow status:
bootspring workflow status- View workflow logs:
bootspring workflow logs <workflow-id>- Resume if paused:
bootspring workflow resume <workflow-id>- Restart if needed:
bootspring workflow restart <workflow-id>"Workflow phase failed"#
A specific phase in the workflow failed.
Solutions:
- Retry the failed phase:
bootspring workflow retry <workflow-id> --phase <phase-name>- Skip the phase (if non-critical):
bootspring workflow skip <workflow-id> --phase <phase-name>- View phase details:
bootspring workflow logs <workflow-id> --phase <phase-name>Performance Issues#
"Bootspring is slow"#
Commands take too long to execute.
Solutions:
- Check network connectivity:
ping api.bootspring.com- Increase timeout:
1// bootspring.config.js
2module.exports = {
3 server: {
4 timeout: 60000,
5 },
6};- Use local caching:
1// bootspring.config.js
2module.exports = {
3 cache: {
4 enabled: true,
5 ttl: 3600, // 1 hour
6 },
7};- Check for large CLAUDE.md:
- If over 100KB, add exclusions
"High memory usage"#
Bootspring uses too much memory.
Solutions:
-
Restart the MCP server:
- Restart your AI assistant
-
Reduce context size:
- Add exclusions to config
-
Limit concurrent operations:
1// bootspring.config.js
2module.exports = {
3 server: {
4 maxConcurrent: 3,
5 },
6};Getting More Help#
Run Diagnostics#
bootspring doctor --fullProvides comprehensive system check with actionable advice.
Enable Debug Mode#
BOOTSPRING_DEBUG=true bootspring <command>Shows detailed logs for debugging.
Check System Status#
Visit status.bootspring.com for:
- Service status
- Known issues
- Maintenance windows
Contact Support#
- Dashboard: bootspring.com/dashboard/support
- Discord: Join the community server
- GitHub: File issues at github.com/bootspring/bootspring
Information to Include#
When reporting issues, include:
1# System info
2bootspring doctor --full
3
4# Version info
5bootspring --version
6node --version
7npm --version
8
9# Configuration
10cat bootspring.config.js
11cat .mcp.jsonCommon Error Messages#
| Error | Meaning | Solution |
|---|---|---|
ENOENT: no such file | File not found | Check path exists |
EACCES: permission denied | No permission | Check file permissions |
ETIMEDOUT | Request timeout | Check network, increase timeout |
ECONNREFUSED | Server not running | Start MCP server |
Invalid token | Auth failed | Re-authenticate |
Rate limit exceeded | Too many requests | Wait and retry |
Tier required: pro | Feature needs upgrade | Upgrade plan |
Next Steps#
- Configuration - Customize Bootspring
- CLI Reference - All commands documented
- FAQ - Frequently asked questions