Deployment Troubleshooting
Build Errors
Notification Center
If there are build errors during a deployment using Kajoo, we want to give the user enough information to diagnose the problem. The notification center in Kajoo will give detailed build errors to help the user understand what went wrong and when.
Prettier
Â
An example of a prettier error during a build
The default JSS code prettier config is different from Kajoo’s (though this is being fixed). If a build error relating to prettier and line endings appears, employ the following fix:
There should be a .prettierrc file in your JSS app’s root folder. In this file, the endOfLine parameter should be 'auto'. Deployment will fail otherwise.
Â
Â