Maintenance & Troubleshooting
This guide provides information on how to maintain and troubleshoot your Prodcat installation.
Upgrading Prodcat
Versioning and release notes
Prodcat follows semantic versioning. You can find the release notes for each version on the GitHub releases page.
Step-by-step upgrade process
- Check for new releases: Regularly check the GitHub releases page for new versions of Prodcat.
- Backup your project: Before upgrading, it's always a good idea to create a backup of your project.
- Update the package: Run
npm install prodcat@latestto update to the latest version. - Check for breaking changes: Review the release notes for any breaking changes and update your project accordingly.
Backup & Restore
Backup procedures for content and configuration
To back up your Prodcat project, you should back up the following files and directories:
prodcat.config.jsproducts.jswebsite/docusaurus.config.jswebsite/sidebars.jswebsite/docswebsite/src
Restoring from a backup
To restore from a backup, simply copy the backed-up files and directories back into your project.
Troubleshooting
Common issues and solutions
command not found: prodcat: This error occurs when theprodcatcommand is not in your system'sPATH. If you installed Prodcat globally, make sure that yournpmglobalbindirectory is in yourPATH. If you are running it locally, make sure you are in the project's root directory.Error: Cannot find module '...': This error occurs when a required module is not installed. Runnpm installto install all the dependencies.
Logging and diagnostics
Prodcat uses the debug library for logging. To enable debug logging, set the DEBUG environment variable to prodcat.
DEBUG=prodcat prodcat generate
Getting support
If you need help, you can:
- Check the FAQ: The FAQ section may have the answer to your question.
- Ask on GitHub: Post your question on the GitHub Issues page.
- Contact Support: For urgent issues, please contact our support team.