-
-
Notifications
You must be signed in to change notification settings - Fork 558
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
syntax error near unexpected token `<' #4263
Comments
The server is down. Hmm, so it seems the launcher install can't be installed for 3 days already due to server error: <title>500 Server Error</title> |
Any updates on this? Server is still down. Any mirrors for the installer? |
This seems to be an issue with drupalconsole.com specifically, affecting only the "Global Executable" instructions. Composer installs seem okay to me while https://drupalconsole.com/installer shows an error 500 for me right now. @senorbond your description seems to use both a composer local install and a global install - you might find that you have a working drupal console in In Slack it looks like this issue has been raised repeatedly since August 😞 |
I too receive this error. Composer installed it just fine but any drupal command results in this same error, any resolution to this? Running a MAC with the latest OS X. $ drupal |
Here's the process to install Drupal Console via Composer, which worked for me last time I tried it. https://drupalconsole.com/docs/en/getting/composer If you want a global install, you could |
I receive the same error. Running a mac with latest OSX using Composer to install Drupal Console. |
Same here, the problem is the server, the downloaded file have inside this: <title>500 Server Error</title>Error: Server ErrorThe server encountered an error and could not complete your request.Please try again in 30 seconds. |
That was a real battle, pretty ridiculous. I ended up getting around the error by installing using composer composer global require drupal/console:@stable which composer version 2 installed it to ~/.config/composer/vendor/drupal/console/bin I then copied it from that directory to a directory that was in my path with sudo cp drupal /usr/local/bin/drupal You might also have to chmod +x /usr/local/bin/drupal I see the documentation saying not to install it globally, only on a per project basis, but most of the developers on my team do not want drupal console and I don't want to force it on them by requiring it as part of a project. Globally seems like a better solution in my case. Edit: nope still not working, I can execute Drupal console from the ~/.config/composer/vendor/drupal/console/bin folder but not anywhere else. I guess Drupal console is in practically an abandoned project, at least if installing it per project is a no go. |
@plato1123 comment above has a global install method for you, #4263 (comment) @hechoendrupal is there any way the community should support you in maintaining this project? Is it still active / alive? Issue is reported in these other locations:
While the installer instructions are broken because the installer URL is inaccessible, there are some workarounds in the comments above - folks, please read those to save yourself repeating others posts. SEE #4263 (comment) |
You can find the releases here. |
syntax error near unexpected token `<'
The issue title should comply with the following structure:
[ ISSUE-GROUP ] console
Problem/Motivation
Followed installation as listed in guide as follows:
$ composer require drupal/console:~1.0 --prefer-dist --optimize-autoloader
$ curl https://drupalconsole.com/installer -L -o drupal.phar
$ mv drupal.phar /usr/local/bin/drupal
$ chmod +x /usr/local/bin/drupal
$ drupal self-update
/usr/local/bin/drupal: line 2: syntax error near unexpected token
<' /usr/local/bin/drupal: line 2:
'Details to include:
How to reproduce
Include steps related how to reproduce.
Details to include:
Drupal version : 9.1.0-dev
drupal/console 1.9.5 The Drupal CLI. A tool to generate boilerplate code, interact with and debug Drupal.
drupal/console-core 1.9.6 Drupal Console Core
drupal/console-en 1.9.5 Drupal Console English Language
drupal/console-extend-plugin 0.9.4 Drupal Console Extend Plugin
Using DrupalVM
The text was updated successfully, but these errors were encountered: