Troubleshooting
Common installation and runtime issues, with step-by-step solutions to get you back on track.
Installation Issues
"Repository not found" Error
This error occurs when GitHub can't authenticate or you don't have access to the repository.
Solution 1: Accept GitHub Invitation
Check your email or visit: https://github.com/boltaai/devconsole-package/invitations
Solution 2: Verify Authentication
Solution 3: Use Personal Access Token
"Authentication failed" During Install
Your GitHub credentials may have expired or are incorrect.
For GitHub CLI:
For Personal Token:
Clear Cached Credentials (macOS):
Slow Installation / Recursive Installs
The package may be installing its own dependencies recursively, causing slow installs.
Solution: Use Post-Install Cleanup
This removes unnecessary files (source code, node_modules, etc.) from the installed package, keeping only the dist folder needed for runtime.
Next.js Build Errors
ERR_INVALID_ARG_VALUE with null bytes
Next.js is trying to create file paths using the git dependency URL, which contains invalid characters.
Solution: Update next.config.ts
Package Installs But Can't Import
The package may not have built correctly or there's a cache issue.
CSS Loading Issues
CSS Not Loading / Styles Not Appearing
CSS auto-loading may have failed, especially with git-installed packages.
Solution 1: Manual CSS Loading (Recommended)
Solution 2: Direct CSS Import
Note: This may not work with git-installed packages due to path resolution issues.
Solution 3: Verify CSS is Loaded
CI/CD Deployment Issues
"Repository not found" on Vercel
Your deployment platform can't access the private repository.
1. Ensure you've accepted the GitHub invitation
2. Verify GITHUB_TOKEN is set
Vercel: Settings → Environment Variables → Add GITHUB_TOKEN
3. Token must have 'repo' scope enabled
4. Use the helper script in your build command
Build Failures on Deployment
Common causes and solutions for deployment build failures.
- Check that
GITHUB_TOKENis set in environment variables - Verify the token hasn't expired
- Ensure
pnpm-workspace.yamlis committed to your repository - Check build logs for specific error messages
Configuration Issues
.devconsole.json Not Being Picked Up
The toolkit may fail to find your custom configuration file if it's not placed in the correct location, if there's a CORS issue, or if Next.js middleware is blocking the request (common with dotfiles).
Solution 1: Check File Location
The file MUST be named exactly .devconsole.json and must be in your project's public/ folder.
Solution 2: Use API Route Fallback (Recommended for Next.js)
If you're getting 400 errors when accessing /.devconsole.json, create an API route to serve the config. The toolkit automatically falls back to this route if the direct file fetch fails.
The toolkit will automatically try /api/devconsole-config if the direct file fetch fails. No additional configuration needed!
Solution 3: Verify Access
Try navigating to http://localhost:3000/.devconsole.json or http://localhost:3000/api/devconsole-config in your browser. If both fail, check your middleware configuration.
Solution 4: Check Console Logs
Open the browser devtools. The toolkit will log [DevConsole] Loaded config from API route. when the fallback succeeds, or [DevConsole] No .devconsole.json file found if both attempts fail.
Still Having Issues?
If you're still experiencing problems, try these general troubleshooting steps:
If issues persist, check the TROUBLESHOOTING.md file in the package repository for more detailed solutions.