Common Issues in Version 0.0.6
Authentication Problems
Cannot authenticate / API key rejected
Cannot authenticate / API key rejected
Problem: Authentication fails with “Invalid API key” or similar errorsSolutions:
-
Verify API key is correct:
- Log into nextlovable.com
- Go to your dashboard
- Copy the API key exactly (no extra spaces)
-
Re-run authentication:
Paste the API key when prompted
-
Check account status:
- Ensure your account is active
- Verify you have credits remaining
- Check for any billing issues
-
Network connectivity:
Should return a 200 status code
Authentication token expired
Authentication token expired
Problem: Previously working authentication suddenly failsSolutions:
-
Re-authenticate:
-
Check token storage:
-
Clear stored credentials and re-auth:
Network/firewall issues
Network/firewall issues
Problem: Cannot connect to authentication serversSolutions:
-
Check firewall settings:
- Ensure outbound HTTPS (port 443) is allowed
- Whitelist
*.nextlovable.com
domains
-
Corporate proxy:
-
Test connectivity:
Installation Issues
Command not found: next-lovable
Command not found: next-lovable
Problem: After installation, running
next-lovable
shows “command not found”Solutions:- Restart your terminal - This refreshes the PATH
-
Check installation location:
-
Verify npm global bin is in PATH:
The npm prefix path should be in your PATH
-
Add npm global bin to PATH (if missing):
-
Use npx as alternative:
Version mismatch after installation
Version mismatch after installation
Problem:
next-lovable --version
shows wrong versionSolutions:-
Uninstall and reinstall specific version:
-
Clear npm cache:
-
Check for multiple installations:
Node.js version compatibility
Node.js version compatibility
Problem: Errors about Node.js version being incompatibleSolutions:
-
Check Node.js version:
Version 0.0.6 requires Node.js 16.x or higher
-
Update Node.js:
- Visit nodejs.org for official installer
- Or use nvm:
nvm install 18 && nvm use 18
-
For Ubuntu/Debian:
Migration Issues
Source directory not recognized as React project
Source directory not recognized as React project
Problem: Tool doesn’t recognize your React projectSolutions:
-
Verify package.json exists and contains React:
-
Check for required dependencies:
-
Install missing dependencies:
- Check project structure: Ensure you have components or pages that use React Router
Migration fails with syntax errors
Migration fails with syntax errors
Problem: Migration stops due to syntax errors in source filesSolutions:
-
Fix syntax errors first:
-
Common syntax issues in v0.0.6:
- Missing semicolons
- Incorrect JSX syntax
- TypeScript type errors
- Import/export statement issues
-
Simplify complex patterns:
- Break down large components
- Remove experimental JavaScript features
- Fix any linting errors
- Skip problematic files: Move complex files out temporarily, migrate, then manually port them
Target directory creation fails
Target directory creation fails
Problem: Cannot create or write to target directorySolutions:
-
Check permissions:
-
Use different location:
-
Check disk space:
-
Run with elevated permissions if needed:
Migration incomplete / hangs
Migration incomplete / hangs
Problem: Migration process stops or hangs partway throughSolutions:
-
Check network connectivity:
-
Monitor system resources:
-
Try smaller batches:
- Exclude large files temporarily
- Remove node_modules before migration
- Clear any build artifacts
-
Enable verbose logging:
-
Kill and restart:
Post-Migration Issues
Generated Next.js app won't start
Generated Next.js app won't start
Problem:
npm run dev
fails with errorsSolutions:-
Install dependencies:
-
Common dependency issues:
-
Fix configuration issues:
-
Clear cache and rebuild:
Routing doesn't work correctly
Routing doesn't work correctly
Problem: Pages don’t load or routing is brokenSolutions:
-
Check App Router structure:
-
Verify page.tsx exports:
-
Check for client component issues:
-
Review navigation components:
Ensure Link components use
href
instead ofto
TypeScript errors after migration
TypeScript errors after migration
Problem: Many TypeScript errors in migrated codeSolutions:
-
Update TypeScript configuration:
-
Install missing type definitions:
-
Fix common type issues:
Performance Issues
Migration is very slow
Migration is very slow
Problem: Migration takes an extremely long timeSolutions:
-
Check project size:
-
Exclude unnecessary files:
-
Check network speed:
-
System resources:
- Close other applications
- Check available RAM and CPU
- Use faster storage (SSD vs HDD)
High credit consumption
High credit consumption
Problem: Migration uses more credits than expectedSolutions:
-
Check project complexity:
- Large projects consume more credits
- Complex routing patterns increase usage
- Many components increase processing
-
Use dry-run to estimate:
This shows estimated credit usage
-
Consider breaking down project:
- Migrate in smaller chunks
- Remove unused components
- Simplify complex routing
- Upgrade to newer version: Version 0.0.7+ offers free single file conversions
Version 0.0.6 Specific Limitations
Known Limitations in v0.0.6:
- All operations require authentication and credits
- No single file conversion mode
- Limited error recovery options
- No granular transformation control
- Older React Router patterns may not convert perfectly
Workarounds
- For testing small changes: Use online converters or manual conversion
- For better control: Upgrade to version 0.0.7+
- For complex projects: Consider manual migration with v0.0.6 as reference
Getting Help
Debug Information
When reporting issues, include:Support Channels
GitHub Issues
Report bugs specific to v0.0.6
Discord Community
Get help from other users
Documentation
Browse v0.0.6 documentation
Upgrade Recommendation
Consider upgrading to version 0.0.7+ for:
- Free single file conversions
- Better error handling
- More granular control
- Improved performance
- Enhanced CLI experience
Version 0.0.7+ Features
See what’s new in newer versions
Migration Guide
Learn how to use the latest version
Frequently Asked Questions
Can I use v0.0.6 without authentication?
Can I use v0.0.6 without authentication?
No, version 0.0.6 requires authentication for all operations, including single file conversions. Consider upgrading to 0.0.7+ for free features.
Can I undo a migration?
Can I undo a migration?
Only if you:
- Used a separate target directory (recommended)
- Have backups or version control
- Used
--dry-run
first to understand changes
Why does my complex routing not convert correctly?
Why does my complex routing not convert correctly?
Version 0.0.6 has limited support for:
- Custom route guards
- Dynamic route configurations
- Nested routing with complex logic
- Integration with state management
How do I migrate from v0.0.6 to newer versions?
How do I migrate from v0.0.6 to newer versions?
- Uninstall v0.0.6:
npm uninstall -g next-lovable
- Install latest:
npm install -g next-lovable
- Note: Command structure changed in v0.0.7+
- Read the v0.0.7+ documentation for new features
Report a Bug
Found a bug specific to version 0.0.6? Please report it with:- Version confirmation:
next-lovable --version
output - Clear description of the problem
- Steps to reproduce the issue
- Sample project that demonstrates the issue
- Expected vs actual behavior
- System information (OS, Node.js version, etc.)