Grav: Error bin/grav install

Created on 13 Jun 2016  Â·  5Comments  Â·  Source: getgrav/grav

λ composer create-project getgrav/grav ~/webroot/grav
Installing getgrav/grav (1.0.10)

Installing getgrav/grav (1.0.10) Downloading: 100% Created project in ~/webroot/grav Loading composer repositories with package information Installing dependencies (including require-dev) from lock file
Installing doctrine/cache (v1.6.0) Downloading: 100%
Installing donatj/phpuseragentparser (v0.5.0) Downloading: 100%
Installing erusev/parsedown (dev-master 94688f2) Cloning 94688f21cc5d8bc85f1783b4c8b98b3288d712cb
Installing erusev/parsedown-extra (0.7.1) Downloading: 100%
Installing filp/whoops (2.0.0) Downloading: 100%
Installing gregwar/cache (v1.0.10) Downloading: 100%
Installing gregwar/image (v2.0.20) Downloading: 100%
Installing symfony/polyfill-mbstring (v1.1.0) Downloading: 100%
Installing symfony/var-dumper (v2.8.2) Downloading: 100%
Installing psr/log (1.0.0) Downloading: 100%
Installing maximebf/debugbar (v1.11.0) Downloading: 100%

Installing monolog/monolog (1.17.2)
Downloading: 100%

Installing mrclay/minify (2.2.1)
Downloading: 100%
Installing symfony/yaml (v2.8.2) Downloading: 100%
Installing symfony/event-dispatcher (v2.8.2) Downloading: 100%
Installing pimple/pimple (v3.0.2) Downloading: 100%
Installing ircmaxell/password-compat (v1.0.4) Downloading: 100%
Installing rockettheme/toolbox (1.2.1) Downloading: 100%
Installing symfony/polyfill-iconv (v1.1.0) Downloading: 100%
Installing twig/twig (v1.24.0) Downloading: 100%
Installing symfony/finder (v3.0.2) Downloading: 100%
Installing symfony/dom-crawler (v3.0.2) Downloading: 100%
Installing symfony/css-selector (v3.0.2) Downloading: 100%
Installing symfony/console (v2.8.2) Downloading: 100%
Installing symfony/browser-kit (v3.0.2) Downloading: 100%
Installing sebastian/version (1.0.6) Downloading: 100%

Installing sebastian/global-state (1.1.1)
Downloading: 100%

Installing sebastian/recursion-context (1.0.2)
Downloading: 100%
Installing sebastian/exporter (1.2.1) Downloading: 100%
Installing sebastian/environment (1.3.3) Downloading: 100%
Installing sebastian/diff (1.4.1) Downloading: 100%
Installing sebastian/comparator (1.2.0) Downloading: 100%
Installing phpunit/php-text-template (1.2.1) Downloading: 100%
Installing doctrine/instantiator (1.0.5) Downloading: 100%
Installing phpunit/phpunit-mock-objects (2.3.8) Downloading: 100%
Installing phpunit/php-timer (1.0.7) Downloading: 100%
Installing phpunit/php-file-iterator (1.4.1) Downloading: 100%
Installing phpunit/php-token-stream (1.4.8) Downloading: 100%
Installing phpunit/php-code-coverage (2.2.4) Downloading: 100%
Installing phpdocumentor/reflection-docblock (2.0.4) Downloading: 100%
Installing phpspec/prophecy (v1.5.0) Downloading: 100%

Installing phpunit/phpunit (4.8.23)
Downloading: 100%

Installing psr/http-message (1.0)
Downloading: 100%
Installing guzzlehttp/psr7 (1.2.2) Downloading: 100%
Installing guzzlehttp/promises (1.0.3) Downloading: 100%
Installing guzzlehttp/guzzle (6.1.1) Downloading: 100%
Installing facebook/webdriver (1.1.1) Downloading: 100%
Installing codeception/codeception (2.1.6) Downloading: 100%
Installing fzaninotto/faker (v1.5.0) Downloading: 100%

filp/whoops suggests installing whoops/soap (Formats errors as SOAP responses)
gregwar/image suggests installing behat/transliterator (Transliterator provides ability to set non-latin1 pretty names)
symfony/var-dumper suggests installing ext-symfony_debug ()
maximebf/debugbar suggests installing kriswallsmith/assetic (The best way to manage assets)
maximebf/debugbar suggests installing predis/predis (Redis storage)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB) monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
mrclay/minify suggests installing tubalmartin/cssmin (Support minify with CSSMin (YUI PHP port))
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/console suggests installing symfony/process ()
symfony/browser-kit suggests installing symfony/process ()
sebastian/global-state suggests installing ext-uopz ()
phpunit/phpunit-mock-objects suggests installing ext-soap ()
phpunit/php-code-coverage suggests installing ext-xdebug (>=2.2.1)
phpdocumentor/reflection-docblock suggests installing dflydev/markdown (~1.0)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
facebook/webdriver suggests installing phpdocumentor/phpdocumentor (2.)
codeception/codeception suggests installing codeception/phpbuiltinserver (Extension to start and stop PHP built-in web server for your tests)
codeception/codeception suggests installing codeception/specify (BDD-style code blocks)
codeception/codeception suggests installing codeception/verify (BDD-style assertions)
codeception/codeception suggests installing phpseclib/phpseclib (Extension required to use the SFTP option in the FTP Module.)
fzaninotto/faker suggests installing ext-intl ()
Generating autoload files

bin/grav install
name ‘bin’ - error
Script bin/grav install handling the post-create-project-cmd event returned with an error

[RuntimeException]
Error Output: name 'bin' - error

bug cannot replicate

Most helpful comment

Mentioned here #402

This seems to be a problem on Windows machines, even if PHP is in PATH.

Solution is to set PHP in path (if it isn't already there), move into the install directory and manually do php bin\grav install

All 5 comments

is the bin/grav file executable?

Closing due to inactivity and inability to recreate.

Mentioned here #402

This seems to be a problem on Windows machines, even if PHP is in PATH.

Solution is to set PHP in path (if it isn't already there), move into the install directory and manually do php bin\grav install

Gracias me sirvió.

$ composer create-project getgrav/grav my-cms 
$ cd my-cms
$ php bin\grav install

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ekumlin picture ekumlin  Â·  37Comments

fredrikekelund picture fredrikekelund  Â·  17Comments

tmos picture tmos  Â·  21Comments

giansi picture giansi  Â·  17Comments

ThinkDevStudios picture ThinkDevStudios  Â·  17Comments