Salla Docs
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Merchant API
  • Merchant API
  • Salla OAuth 2.0
Partner APIs
  • App API
  • Shipment API
Storefront
  • Twilight Engine
  • Twilight SDK
  • Web Components
  • Change Log
Salla CLI
Salla - Opensource
Salla - Developers Community
  1. Additional Resources
  • Welcome to Salla CLI 👋
  • Usage
  • Authorization
  • Help
  • Apps Command
    • Overview
    • Create App
    • Create Webhook
    • Delete
    • Link
    • List and Info
    • Serve
  • Twilight Themes Command
    • Overview
    • Create
    • Preview
    • List
    • Delete
    • Publish
  • Additional Resources
    • Upgrade and Version
    • Troubleshooting
  1. Additional Resources

Troubleshooting

In the course of using the Salla CLI, you may encounter various issues or error messages. These can stem from a variety of causes, from minor misconfigurations to deeper problems requiring more thorough investigation. This section presents a range of common errors and their corresponding troubleshooting steps to guide you in resolving these issues efficiently. Remember, each problem is an opportunity to better understand the workings of the Salla CLI.

Identifying and Resolving Common Issues#

The key to working effectively on any technical task is understanding how to troubleshoot and resolve issues. Here are some of the common error messages you might encounter, along with explanations and suggested solutions for each:
Common Error MessagesDescriptionSuggested Solutions
Preview ErrorWhile previewing the Twilight theme during development using your browser, it seems to not be replacing assets url with localhost:8000/assets/....Select the preview browser when prompting the Salla CLI preview command.
Preview Error 404The Theme preview encounters an error with code number 404.You can preview the store froma different demo store.
Read more about Demo Store theme preview here
Non-existent Theme IDThe theme ID doesn't exist in your developer account.Re-login through the CLI using the command salla login.
CLI Request FailureThe CLI failed to request a preview for the theme.Reconnect your Github account to Salla and give all authorizations.
Web Socket IssueThere's an issue with the web socket.Contact support via Telegram.
Token AuthorizationThere's a problem with token authorization.Personal Accesss Token is used as an alternative to passwords for authentication to Github with Salla CLI. This step is required for creating themes using Salla CLI. Read more here.
Bad CPU Type in executableUsers with Apple devices running on the Apple Silicon chip processors will face a problem, which is caused by the package used, cloudflare. The package is not compatible yet with Apple devices using the new Apple Silicon chip.Installing Rosetta by following this guide.

Preventing Salla CLI Errors#

Note
Remember, troubleshooting is a systematic process. If the first solution doesn't resolve the problem, don't be discouraged. Move on to the next step, and continue the process until the issue is resolved.
To mitigate issues with the Salla CLI, consider these preventative measures:
Ensure proper login to your Salla Partners Account and local GitHub account for secure interactions.
Regularly update your Salla CLI to benefit from bug fixes and feature improvements.
Familiarize yourself with the options of each Salla CLI command for greater control and efficiency.
Adopting these best practices can lead to a smoother, trouble-free experience with the Salla CLI.
Previous
Upgrade and Version