Why do I get a 'Cannot understand what targets. Check if you specified valid targets' error when I run catalyst serve?
If you encounter this error while executing catalyst serve, you can resolve it in the following ways:
- Ensure you are in the correct folder path when you serve targets.
- Ensure your project directory is not empty and contains at least one resource that can be served. Catalyst can serve function endpoints of types Basic I/O and Advanced I/O, client, and AppSail resources. You can also pull the latest code of your resources from the Catalyst console to your local system through the catalyst pull command, before you serve it.
Updated
Yes
No
Send your feedback to us
Skip
Submit
Ask AI about this answer