mozart: Root directories can not be deleted
Hi,
Wondered if you could help?
Currently installing Mozart to our Project but every time I run vendor/bin/mozart compose I keep getting the following:
In Filesystem.php line 248:
Root directories can not be deleted.
compose
Im using WIndiows with VSCode and Git Bash. This is the composer file:
"scripts": {
"post-install-cmd": [
"\"vendor/bin/mozart\" compose",
"COMPOSER=composer-premium.json composer dump-autoload"
],
"post-update-cmd": [
"\"vendor/bin/mozart\" compose",
"COMPOSER=composer-premium.json composer dump-autoload"
]
},
"extra": {
"mozart": {
"dep_namespace": "Vendor\\",
"dep_directory": "/dist/",
"classmap_directory": "/classes/dependencies/",
"classmap_prefix": "UDP_",
"packages": [
"aws/aws-sdk-php"
]
}
}
I couldn’t find much on google. Any help is appreciated.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 21 (9 by maintainers)
Commits related to this issue
- Use DIRECTORY_SEPARATOR for Windows Issue #43 — committed to BrianHenryIE/strauss by BrianHenryIE 4 years ago
- Failing testes for #43 #90 — committed to BrianHenryIE/strauss by BrianHenryIE 4 years ago
- Root directories can not be deleted https://github.com/coenjacobs/mozart/issues/43 @darthvader666uk — committed to BrianHenryIE/strauss by BrianHenryIE 3 years ago
@darthvader666uk You are correct, @BrianHenryIE is an amazing help to this project. I’ll have a look over the next few days, as a couple PRs and issues are requiring my attention. I’ll see to releasing everything in the next beta of 0.6.0 and get that into a stable release as soon as I deem things to be stable enough. Really glad this got sorted!
@BrianHenryIE Yes! thats it, it worked 😃
I tried going through it myself and I found a few but didnt get there but that update has done the job.
Phew! thank you so much for that!