def METHOD_NAME(config, repo_folder):
    cea_gui_folder = config.development.gui
    if not os.path.exists(os.path.join(cea_gui_folder, "package.json")):
        raise ValueError("Please configure the path to the CityEnergyAnalyst-GUI repository ({development:gui})")
    if not config.development.yarn or not check_yarn_exists(config.development.yarn):
        raise ValueError("Please configure the path to yarn ({development:yarn})")
    print("RUN yarn")
    subprocess.run([config.development.yarn], cwd=cea_gui_folder)
    print("RUN yarn package")
    subprocess.run([config.development.yarn, "package"], cwd=cea_gui_folder, check=True)
    print("COPY CityEnergyAnalyst-GUI-win32-x64 to setup/CityEnergyAnalyst-GUI-win32-x64")
    destination = os.path.join(repo_folder, "setup", "CityEnergyAnalyst-GUI-win32-x64")
    shutil.rmtree(destination, ignore_errors=True, onerror=None)
    shutil.copytree(os.path.join(cea_gui_folder, "out", "CityEnergyAnalyst-GUI-win32-x64"), destination)