Development Problems
Development environment troubleshooting
Development Problems
Solutions to development environment issues.
Editor Issues
VS Code IntelliSense Not Working
Solution:
- Reload VS Code window (Cmd/Ctrl + Shift + P → "Reload Window")
- Check TypeScript version
- Restart TS server (Cmd/Ctrl + Shift + P → "TypeScript: Restart TS Server")
ESLint Not Running
Solution:
# Check ESLint config
cat .eslintrc.js
# Run manually
pnpm lint
# Install ESLint extension in VS Code
Monorepo Issues
Package Changes Not Reflected
Solution:
# Rebuild package
pnpm build --filter=@mindware-blog/ui
# Restart dev server
pnpm dev
Circular Dependencies
Problem: Build fails with circular dependency error
Solution:
- Review package dependencies
- Break the cycle by extracting shared code
- Use dynamic imports if necessary
Test Issues
Tests Failing Locally
Solution:
# Clear jest cache
pnpm test --clearCache
# Run specific test
pnpm test path/to/test.ts
# Update snapshots
pnpm test -u
Next Steps
- Common Issues - Frequent problems
- Deployment Issues - Production problems
- Performance - Performance optimization