Get Free Trial
  1. API reference
Connecting to Data Source
Configuring the component
  • Documentation for older versions
  • Table of contents

    Troubleshooting the CLI

    This section provides solutions to the errors you might encounter while working with Flexmonster CLI. If you cannot find your error here, contact our technical support.

    Console error: ‘flexmonster : File C:\Users\User\AppData\Roaming\npm\flexmonster.ps1 cannot be loaded because running scripts is disabled on this system.’

    Your current Windows PowerShell execution policy does not allow scripts. To run the CLI commands, try another command prompt or set a new PowerShell execution policy with this command:

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

    Learn more about execution policies in Microsoft documentation.

    Console error: there is no Flexmonster Data Server for macOS (ARM64) operating system

    Your version of Flexmonster CLI does not provide the Data Server for computers with Apple silicon. Update Flexmonster CLI to version 2.9.7 or higher:

    npm update -g flexmonster-cli

    To check your CLI version, run the following command:

    flexmonster version