drupal-console
drupal-console copied to clipboard
[config:export] Path is broken on windows
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
Solution
Dunno but it seems related to this issue: https://github.com/hechoendrupal/drupal-console/pull/4154
Quick fix for now has been to rollback to 1.9.2
.
I've looked into it (had the same issue) and fixed it in a small patch.
Thank you for your contribution