-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Describe the bug
If CMA, when being installed for the first time, is interrupted during phpbrew setup(for any reason), it will result in non-working phpbrew + it will not recover on startup.
Environment
Ubuntu
Steps to reproduce
- Fresh npm run installation on a system on no phpbrew
- Pressing ctrl+c in the middle of brew install will do it. This leaves the system with half-installed brew; e.g. no specific php version installed.
- After that, on re-run npm will not attempt to install specific phpbrew versions despite them not being present.
Not confirmed - but this might happen if some Y prompt are not triggered during the install (e.g. for bashrc?).
Manually removing phphbrew from the system entirely resolves the issue.
Expected behavior
Hard to say what is expected in this case, if CMA could somehow detect non-functional brew and re-install it, that would help.
If not, then perhaps just a text message to consider reinstalling phpbrew, if there's issues with it during startup?
Metadata
Metadata
Assignees
Labels
No labels