Skip to content
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

Cannot install laravel 5 #409

Closed
provun opened this issue Oct 9, 2014 · 2 comments
Closed

Cannot install laravel 5 #409

provun opened this issue Oct 9, 2014 · 2 comments

Comments

@provun
Copy link

provun commented Oct 9, 2014

Hi

Getting an issue when installing laravel 5 with

composer create-project laravel/laravel ./ dev-develop --prefer-dist

Installing laravel/laravel (dev-develop e16868571bca8f4806b0affeca3ef4f9fbc9973a)

Installing laravel/laravel (dev-develop develop) Loading from cache
Created project in ./
Loading composer repositories with package information
Installing dependencies (including require-dev)

Installing vlucas/phpdotenv (1.0.6)
Loading from cache

Installing doctrine/lexer (dev-master 83893c5)
Loading from cache

Installing doctrine/annotations (dev-master 6a6bec0)
Loading from cache

Installing nikic/php-parser (0.9.x-dev ef70767)
Loading from cache

Installing jeremeamia/superclosure (1.0.1)
Loading from cache

Installing symfony/finder (dev-master ceb2c69)
Loading from cache

Installing symfony/filesystem (dev-master 7d97789)
Loading from cache

Installing symfony/console (dev-master 771649e)
Loading from cache

Installing classpreloader/classpreloader (1.0.2)
Loading from cache

Installing league/flysystem (dev-master 0bc9f7e)
Loading from cache

Installing predis/predis (dev-master 0533b50)
Loading from cache

Installing symfony/translation (dev-master adc9268)
Loading from cache

Installing symfony/security-core (dev-master cd35c93)
Loading from cache

Installing symfony/routing (dev-master 11ed40b)
Loading from cache

Installing symfony/process (dev-master 2f0db54)
Loading from cache

Installing symfony/http-foundation (dev-master c24942a)
Loading from cache

Installing psr/log (dev-master a78d650)
Loading from cache

Installing symfony/debug (dev-master a8b043d)
Loading from cache

Installing symfony/event-dispatcher (dev-master e133748)
Loading from cache

Installing symfony/http-kernel (dev-master a32e518)
Loading from cache

Installing symfony/dom-crawler (dev-master 14adb9c)
Loading from cache

Installing symfony/css-selector (dev-master 0c11572)
Loading from cache

Installing symfony/browser-kit (dev-master 442ecf5)
Loading from cache

Installing patchwork/utf8 (dev-master 2e98a87)
Loading from cache

Installing filp/whoops (1.1.2)
Loading from cache

Installing swiftmailer/swiftmailer (dev-master 613354e)
Loading from cache

Installing monolog/monolog (dev-master 940cbe1)
Loading from cache

Installing stack/builder (dev-master b140838)
Loading from cache

Installing nesbot/carbon (1.13.0)
Loading from cache

Installing ircmaxell/password-compat (1.0.x-dev 1fc1521)
Loading from cache

Installing d11wtq/boris (v1.0.8)
Loading from cache

Installing laravel/framework (dev-master cfc162e)
Loading from cache

Installing sebastian/environment (dev-master 205fcef)
Loading from cache

Installing doctrine/instantiator (dev-master 4bdc042)
Loading from cache

Installing phpunit/php-text-template (1.2.0)
Loading from cache

Installing phpunit/phpunit-mock-objects (dev-master 96c5b81)
Loading from cache

Installing sebastian/global-state (dev-master 231d486)
Loading from cache

Installing sebastian/exporter (dev-master c7d5994)
Loading from cache

Installing sebastian/diff (dev-master 5843509)
Loading from cache

Installing sebastian/comparator (dev-master e54a01c)
Loading from cache

Installing sebastian/version (1.0.3)
Loading from cache

Installing phpunit/php-token-stream (dev-master f8d5d08)
Loading from cache

Installing phpunit/php-file-iterator (1.3.4)
Loading from cache

Installing phpunit/php-code-coverage (dev-master 28d21b5)
Loading from cache

Installing phpunit/php-timer (1.0.5)
Loading from cache

Installing symfony/yaml (dev-master 499f7d7)
Loading from cache

Installing phpunit/phpunit (dev-master f75e6b2)
Loading from cache

league/flysystem suggests installing aws/aws-sdk-php (Allows you to use AWS S3 storage)
league/flysystem suggests installing dropbox/dropbox-sdk (Allows you to use Dropbox storage)
league/flysystem suggests installing phpseclib/phpseclib (Allows SFTP server storage)
league/flysystem suggests installing sabre/dav (Enables WebDav support)
league/flysystem suggests installing rackspace/php-opencloud (Allows you to use Rackspace Cloud Files)
league/flysystem suggests installing league/event (Required for EventableFilesystem)
league/flysystem suggests installing barracuda/copy (Allows you to use Copy.com storage)
league/flysystem suggests installing guzzlehttp/guzzle (Allows you to use http files (reading only))
predis/predis suggests installing ext-phpiredis (Allows faster serialization and deserialization of the Redis protocol)
symfony/translation suggests installing symfony/config ()
symfony/security-core suggests installing symfony/validator (For using the user password constraint)
symfony/security-core suggests installing symfony/expression-language (For using the expression voter)
symfony/routing suggests installing symfony/config (For using the all-in-one router or any loader)
symfony/routing suggests installing symfony/expression-language (For using expression matching)
symfony/event-dispatcher suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/class-loader ()
symfony/http-kernel suggests installing symfony/config ()
symfony/http-kernel suggests installing symfony/dependency-injection ()
symfony/http-kernel suggests installing symfony/var-dumper ()
patchwork/utf8 suggests installing ext-intl (Use Intl for best performance)
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 doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing raven/raven (Allow sending log messages to a Sentry server)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing videlalvaro/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
laravel/framework suggests installing doctrine/dbal (Allow renaming columns and dropping SQLite columns.)
laravel/framework suggests installing guzzlehttp/guzzle (Required for Mailgun and Mandrill mail drivers.)
sebastian/global-state suggests installing ext-uopz (*)
phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
Writing lock file
Generating autoload files
PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Dotenv: Environment file .env not found. Create file with your environment settings at /home/vagrant/sites/deflekted5/bootstrap/../.env' in /home/vagrant/sites/deflekted5/vendor/vlucas/phpdotenv/src/Dotenv.php:20
Stack trace:
#0 /home/vagrant/sites/deflekted5/bootstrap/environment.php(16): Dotenv::load('/home/vagrant/s...')
#1 /home/vagrant/sites/deflekted5/bootstrap/start.php(27): require('/home/vagrant/s...')
#2 /home/vagrant/sites/deflekted5/artisan(30): require_once('/home/vagrant/s...')
#3 {main}

thrown in /home/vagrant/sites/deflekted5/vendor/vlucas/phpdotenv/src/Dotenv.php on line 20

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Dotenv: Environment file .env not found. Create file with your environment settings at /home/vagrant/sites/deflekted5/bootstrap/../.env' in /home/vagrant/sites/deflekted5/vendor/vlucas/phpdotenv/src/Dotenv.php on line 20

InvalidArgumentException: Dotenv: Environment file .env not found. Create file with your environment settings at /home/vagrant/sites/deflekted5/bootstrap/../.env in /home/vagrant/sites/deflekted5/vendor/vlucas/phpdotenv/src/Dotenv.php on line 20

Call Stack:
0.0005 223640 1. {main}() /home/vagrant/sites/deflekted5/artisan:0
0.0376 611768 2. require_once('/home/vagrant/sites/deflekted5/bootstrap/start.php') /home/vagrant/sites/deflekted5/artisan:30
0.1184 1805816 3. require('/home/vagrant/sites/deflekted5/bootstrap/environment.php') /home/vagrant/sites/deflekted5/bootstrap/start.php:27
0.1220 1819920 4. Dotenv::load() /home/vagrant/sites/deflekted5/bootstrap/environment.php:16

Script php artisan clear-compiled handling the post-install-cmd event returned with an error

[RuntimeException]
Error Output: PHP Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Dotenv: Environment file .env not found. Create file with your environment settings at /home/vagrant/sites/deflekted5/bootstrap/../.e
nv' in /home/vagrant/sites/deflekted5/vendor/vlucas/phpdotenv/src/Dotenv.php:20
Stack trace:
#0 /home/vagrant/sites/deflekted5/bootstrap/environment.php(16): Dotenv::load('/home/vagrant/s...')
#1 /home/vagrant/sites/deflekted5/bootstrap/start.php(27): require('/home/vagrant/s...')
#2 /home/vagrant/sites/deflekted5/artisan(30): require_once('/home/vagrant/s...')
#3 {main}

thrown in /home/vagrant/sites/deflekted5/vendor/vlucas/phpdotenv/src/Dotenv.php on line 20

create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs] [--no-install] [package] [directory] [version]

@JeffreyWay
Copy link
Owner

This isn't an issue with the generators.

Change .env.example in your root directory to .env.

@provun
Copy link
Author

provun commented Oct 10, 2014

Apologies and can see that there are other people getting this issue over at laravel/framework#6032

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants