New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TERMINUS_ROOT not set throws exception #1446
Comments
@spiderwisp I cannot duplicate this issue. This occurs when Terminus cannot locate its own root directory because its |
I've triple-checked and my composer.json file is fine. I've replaced it several times with fresh copies. I'm facing this issue after getting around this issue #1443 (comment) which I did by using an older version of Terminus and php. |
Experiencing the same issue.
|
@makbeta terminus.bat was the autocomplete file for >Terminus 0.7. How did you install Terminus? Was it Homebrew? |
@TeslaDethray No, I'm on Windows and used the curl command to install Terminus, as mentioned in Pantheon Guide. I did have a Terminus v0.13 installed before that, but I first removed it with a composer command before installing a new one. |
Confirming this issue PHP 5.6.21 |
Confirming the issue as well. Clean install with PHP 5.6.21 on a Win 10 x64 machine. Followed the same steps for another machine that is working fine. The other machine was set up about two months ago. |
Rolling back to 0.13.5 at least allowed me to get Terminus going on this new machine without a hitch. I was receiving the errors with beta 2. |
I am experiencing the same error. I ran the installer which gave me beta 2. I am running php 7.0.15 and the error appears both in windows cmd.exe as well as git bash. Windows Server 2012 (64bit) Also received this error during installation: Skipped installation of bin bin/terminus.bat for package pantheon-systems/terminus: file not found in package Does anyone have step by step instructions for installing an older version of terminus via composer? note: it appears the PHP function in question getTerminusRoot() is looking for directories separated by forward slash '/' and can't identify the windows directory structure properly. |
For me, I just pulled down 0.13.5 into a new folder and ran the composer install as normal from that new folder. All seems to be going fine now. I had installed alpha 2 on another laptop and it works perfectly fine. |
We likely need to use terminus/src/Config/DefaultsConfig.php Line 59 in c973f9c
|
@makbeta How did you resolve your error as I am also receiving the same error. I am on a new computer with literally no changes made so I am curious if I am missing some major installation or configuration. Skipped installation of bin bin/terminus.bat for package pantheon-systems/terminus: file not found in package |
I don't believe you need DIRECTORY_SEPARATOR for Problem is probably somewhere else. Haven't tried to reproduce though. |
@greg-1-anderson PHP isn't so good if there are mixed sets of separators. User reported that hard-coding in a @tessak22 - that |
@tessak22 I was not able to resolve the issue. Because I was pressed for time and have relatively few site on Pantheon, I just skipped the terminus approach and got things done via the FTP. |
I am getting this error for a fresh install on MacOS Sierra v10.12.3. |
Experiencing the same problem:
|
@RoloDMonkey there are a few errors mentioned in this issue, so I'll assume you are referring to the lack of a TERMINUS_ROOT? The warning related to terminus.bat can be safely ignored. @paulbooker The first warning can be ignored, the second warning is likely caused by an existing phar or symlink in /usr/local/bin, just make sure to remove it and you should be able to run the Symlink by hand: ln -s /Users/paul/vendor/bin/terminus /usr/local/bin/terminus Another possible cause is that /usr/local/bin is not writable by your user (which is true in Sierra by default I believe). You can either choose to strongarm the system and force writability, or choose to use another folder in your |
I get this error during installation: The section is the issue, and it repeats by itself at the end. However, running "terminus" at the cli, I get a list of available commands. |
The terminus.bat issue has been fixed and will be shipped with 1.0.1. |
Expected behavior
Expect terminus to run using cygwin with php 5.5.28
Actual behavior
Steps to reproduce the behavior
$ bin/terminus -vvv
The text was updated successfully, but these errors were encountered: