Comments (1)
Providing more details here, I installed drupal console's latest version via the suggested method in the Readme.
$ curl https://drupalconsole.com/installer -L -o drupal.phar
$ mv drupal.phar /usr/local/bin/drupal
$ chmod +x /usr/local/bin/drupal
Presumably this gives me v1.8.0 as of writing this comment. Drupal console's version is the same (v1.8.0).
When I go to run drupal init (or any drupal console command), I get:
[ERROR] DrupalConsole must be executed within a Drupal Site. using root web
With some hacking, I traced what the state of the root
was in a few places. My site is running inside a virtual machine, and the drupal root is located at /vagrant/web. At the top of drupal/console/bin/drupal.php, I put these lines:
echo "getcwd()1: \n";
echo getcwd() . "\n";
And the output is:
getcwd()1:
/vagrant
Then later, when it gets the root from $root = $argvInputReader->get('root');
I dump that output to the cli and I just get web
.
I'm not really sure how to debug the launcher itself, it's set up as a phar file.
from drupal-console-launcher.
Related Issues (15)
- Do not assume white as the default console color HOT 1
- Question about installation instructions HOT 3
- drupal quick:start fails to complete when providing a relative path
- LauncherContainer.php, line 20: Platform Dependent Directory Separator Used HOT 4
- Drupal Console Launcher > 1.1.0 breaks extend plugin HOT 4
- Something is wrong with your drupal.phar archive HOT 2
- Installer for release 1.7 not works. HOT 2
- The install for Drupal console is broken HOT 3
- Install with composer global HOT 2
- getting back 500 error when trying to pull the drupal.phar file HOT 1
- Report which script is launced when verbose HOT 2
- Launching drupal console from subdirectory HOT 1
- Launcher compatibility with an arbitrary console version HOT 4
- Launcher shows confusing "Could not find Drupal in the current path." Error message when command is run. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drupal-console-launcher.