Skip to content

[config:export] Path is broken on windows #4195

@sylvainar

Description

@sylvainar

Problem/Motivation

I can't export my config because of broken path. That's a big issue since config:export / config:import are two of my most used commands.

In Filesystem.php line 104:

  Failed to create "D:\Profiles\myname\PhpstormProjects\myproject/D:\Profiles\myname\PhpstormProjects\myproject/../sync": mkdir(): No such file or directory.

How to reproduce

Install module, then export config.

  • OS: Windows 10
  • Drupal version: 8.7.10
  • Console version: 1.9.4
  • Console Launcher version: 1.9.4
  • Steps to reproduce: drupal config:export

image

image

Solution

Dunno but it seems related to this issue: #4154

Quick fix for now has been to rollback to 1.9.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions