Custom Components
Error Handling

Error Handling

Importing using Locofy CLI

locofy login Errors

Problem: Unable to login.
Resolution: Please check your internet connection or try again later.

locofy push Errors

Problem: You have two or more components with the same name.
Resolution: Please deconflict the names of your components.

Problem: locofy.config.json file has incorrect structure.
Resolution: Please view our documentation on how to structure the config file.

Problem: You have no projects.
Resolution: Please create a project in Locofy.

Problem: Unable to load the project list.
Resolution: Please check your internet connection or try again later.

Problem: We do not support your project framework.
Resolution: We currently support React, Next.js, Angular and Gatsby frameworks. Please ensure that React and

the necessary libraries are explicitly declared as dependencies in your package.json. This includes adding both react and react-dom to your project's dependencies.

Problem: No components found.
Resolution: Please view our documentation on how to update and structure the config file.

Importing from Github

Problem: locofy.config.json file not found.
Resolution: Please create your config file using locofy init command.

Problem: locofy.config.json file has incorrect structure.
Resolution: Please view our documentation on how to structure the config file.

Problem: You have two or more components with the same name.
Resolution: Please deconflict the names of your components.