Troubleshooting Tobesee: Fixing the 10 Most Common Issues After Deployment
February 17, 2026
Solutions for the most frequent problems Tobesee users encounter — from build failures and API errors to content sync issues and performance problems
Troubleshooting Tobesee: Fixing the 10 Most Common Issues After Deployment
Every Tobesee installation eventually hits a snag. Maybe the build fails after an update, or content changes are not appearing on the live site, or the admin panel throws an error. This article covers the ten most common issues and their solutions, based on real problems reported by Tobesee users.
1. Build Fails with "Module not found"
Symptom: npm run build fails with an error like Module not found: Can't resolve './components/SomeComponent'
Cause: A file was renamed, moved, or deleted, but the import statement still references the old path. This can also happen after pulling updates from the Tobesee repository if there were structural changes.
Fix:
# Delete cached files and reinstall
rm -rf .next node_modules
npm install
npm run build
If the error persists, check the specific import path mentioned in the error message and verify the file exists at that location.
2. Content Changes Not Appearing on the Live Site
Symptom: You saved an article or resource in the admin panel, but the live site still shows the old content.
Cause: This is usually a caching issue. Vercel caches pages for performance, and the cache might not have been invalidated yet.
Fix:
- Wait 2-3 minutes — Vercel cache typically refreshes within this window
- Check the Vercel dashboard for deployment status — if a redeployment was triggered, wait for it to complete
- Hard refresh your browser with
Ctrl+Shift+R(Windows) orCmd+Shift+R(Mac) - If using Cloudflare or another CDN, purge the cache manually
If content still does not appear, check your GitHub repository to verify the changes were actually committed.
3. "API rate limit exceeded" Error
Symptom: Pages fail to load with a GitHub API rate limit error, or the admin panel shows rate limit warnings.
Cause: GitHub limits API requests to 5,000 per hour for authenticated requests and 60 per hour for unauthenticated requests. If your token is missing or invalid, you are hitting the much lower unauthenticated limit.
Fix:
- Verify your
GITHUB_TOKENis set correctly in environment variables - Test the token:
curl -H "Authorization: token YOUR_TOKEN" https://api.github.com/rate_limit
- If the token is valid but you are still hitting limits, your site may have unusually high traffic. Consider implementing more aggressive caching or using ISR (Incremental Static Regeneration) to reduce API calls.
4. Admin Panel Returns 401 Unauthorized
Symptom: You enter the correct password but get redirected back to the login page, or API calls from the admin panel return 401 errors.
Cause: The JWT token is invalid or expired. This commonly happens after changing the JWT_SECRET environment variable.
Fix:
- Clear all cookies for your site in the browser
- Try logging in again with your
ACCESS_PASSWORD - If it still fails, verify that
ACCESS_PASSWORDandJWT_SECRETare set correctly on your hosting platform - Redeploy the application after updating environment variables
5. "Repository not found" Error
Symptom: The site loads but shows no content, with "Repository not found" errors in the console or logs.
Cause: The GITHUB_OWNER or GITHUB_REPO environment variables do not match your actual repository.
Fix:
- Go to your GitHub repository and copy the owner and repo name from the URL:
github.com/OWNER/REPO - These values are case-sensitive —
CoolCBQis different fromcoolcbq - Update the environment variables on your hosting platform
- Redeploy
6. Styles Look Broken or Missing
Symptom: The site loads but looks unstyled — no colors, no layout, raw HTML.
Cause: Tailwind CSS was not compiled correctly during the build, or the CSS file failed to load.
Fix:
- Run a clean build:
rm -rf .next
npm run build
- Check that
tailwind.config.jsincludes the correct content paths:
module.exports = {
content: [
'./src/**/*.{js,ts,jsx,tsx}',
],
// ...
};
- Verify that
globals.cssincludes the Tailwind directives:
@tailwind base;
@tailwind components;
@tailwind utilities;
7. Sitemap Returns 404 or Is Empty
Symptom: yoursite.com/sitemap.xml returns a 404 error or shows an empty sitemap.
Cause: The sitemap file (src/app/sitemap.ts) might have a syntax error, or it might not be fetching articles correctly.
Fix:
- Check
src/app/sitemap.tsfor syntax errors - Verify that the sitemap function can access the GitHub API (check environment variables)
- Test locally by running
npm run devand visitinglocalhost:3000/sitemap.xml - Make sure all static pages (about, contact, privacy, terms) are included in the sitemap
8. Images Not Loading
Symptom: Images referenced in articles show broken image icons.
Cause: Image URLs in Markdown might be incorrect, or the images might not be accessible from the deployed site.
Fix:
- Verify the image URL is correct and publicly accessible
- If hosting images in your GitHub repository, use the raw content URL:
https://raw.githubusercontent.com/OWNER/REPO/main/path/to/image.png - For external images, ensure the hosting service allows hotlinking
- Consider using a dedicated image hosting service like Cloudinary or Imgur for reliability
9. Build Succeeds Locally but Fails on Vercel
Symptom: npm run build works on your machine, but the Vercel deployment fails.
Cause: Environment variables are missing on Vercel, or there is a Node.js version mismatch.
Fix:
- Check the Vercel build logs for the specific error message
- Verify all required environment variables are set in the Vercel dashboard
- Ensure the Node.js version on Vercel matches your local version. You can specify it in
package.json:
{
"engines": {
"node": ">=18"
}
}
- If the error is related to TypeScript, run
npx tsc --noEmitlocally to catch type errors before deploying
10. Slow Page Load Times
Symptom: Pages take more than 3 seconds to load, especially on mobile.
Cause: Multiple factors can contribute — unoptimized images, too many API calls, large JavaScript bundles, or missing caching.
Fix:
-
Run Lighthouse: Open Chrome DevTools > Lighthouse tab > Generate report. This identifies specific performance issues.
-
Optimize images: Compress images and use modern formats (WebP). Use Next.js
<Image>component for automatic optimization. -
Enable ISR: For content pages, use Incremental Static Regeneration to serve cached pages:
export const revalidate = 60; // Revalidate every 60 seconds
-
Check bundle size: Run
npm run buildand review the output. Pages over 200KB of JavaScript may need code splitting. -
Minimize external scripts: Each external script (analytics, ads, fonts) adds load time. Load non-critical scripts with
strategy="lazyOnload".
General Debugging Tips
When you encounter an issue not listed above:
- Check the browser console — press F12 and look at the Console tab for JavaScript errors
- Check Vercel logs — the deployment logs show build-time errors, and the function logs show runtime errors
- Check GitHub — verify your repository content matches what you expect
- Test locally — reproduce the issue on your local development server where you have more debugging tools
- Search GitHub Issues — someone else may have encountered and solved the same problem
Summary
Most Tobesee issues fall into a few categories: environment variable misconfiguration, caching delays, GitHub API limits, and build errors. The fixes are usually straightforward — verify your configuration, clear caches, and rebuild. When in doubt, the combination of browser console, Vercel logs, and local testing will point you to the root cause.