Comments (13)
I also encountered this issue, with symfony/console:5.3.0. Downgrading to symfony/console:5.2.8 resolved the issue for me.
composer global require symfony/console:5.2.x
I see that some changes related to the --no-ansi option is being made here, [console] Negatable option are null by default
from installer.
Try running composer global update
.
from installer.
Okay, so what else could be the cause? As far as I know, all my packages are up to date.
from installer.
[Solved] The “no-ansi” option does not exist in Laravel
from installer.
Hi! no-ansy problem still exitst on Win10 WSL, php 8.0.7, Laravel Installer 4.0.0, Composer 2.1.3, symfony/console: 5.2.x.
For me works only: composer create-project laravel/laravel <project-name>
from installer.
@driesvints This is happening to me on the latest versions:
➜ ~ composer --version
Composer version 2.0.11 2021-02-24 14:57:23
➜ ~ laravel --version
Laravel Installer 4.2.4
➜ ~ php --version
PHP 7.4.16 (cli) (built: Mar 4 2021 20:52:51) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Zend OPcache v7.4.16, Copyright (c), by Zend Technologies
with blackfire v1.49.0~mac-x64-non_zts74, https://blackfire.io, by Blackfire
➜ ~ laravel new test
_ _
| | | |
| | __ _ _ __ __ ___ _____| |
| | / _` | '__/ _` \ \ / / _ \ |
| |___| (_| | | | (_| |\ V / __/ |
|______\__,_|_| \__,_| \_/ \___|_|
The "no-ansi" option does not exist.
new [--dev] [--git] [--branch BRANCH] [--github [GITHUB]] [--organization ORGANIZATION] [--jet] [--stack [STACK]] [--teams] [--prompt-jetstream] [-f|--force] [--] <name>
from installer.
Seems to work fine for me:
from installer.
Occured at a MacBook Pro 13" with Apple M1, PHP 7.4, Composer 2.0.12 and Laravel Installer 4.2.4
Composer and packages are up to date (freshly updated)
from installer.
I found the bug in my case!
There was another global composer dependency which used symfony/console with '5.x-dev' as version.
After updating that dependency and another composer global update
the laravel installer works againl
from installer.
Yes, that turned out to be my problem too. The installer isn't compatible with symfony/console 5.x-dev
but will still happily accept it as a dependency.
from installer.
Hi
Follow this steps
-
composer create-project laravel/laravel name-project
-
cd name-project
Something is wrong with the package laravel installer and the global variables
Regards
from installer.
downgrading symfony also worked for me.
from installer.
I also encountered this issue, with symfony/console:5.3.0. Downgrading to symfony/console:5.2.8 resolved the issue for me.
composer global require symfony/console:5.2.x
I see that some changes related to the --no-ansi option is being made here, [console] Negatable option are null by default
I did the same thing as this guy and it worked perfect. Thanks very much to this guy.
from installer.
Related Issues (20)
- Installation not working HOT 14
- Not installing usable Jetstream + Livewire scaffolding HOT 1
- Docs link broken/missing from docs HOT 2
- Error installing Laravel on a Github Codespace (it worked yesterday 2023-12-18) HOT 4
- Call to `http://cabinet.laravel.com/*.zip` is returning a 404 HOT 11
- Add check to installer to see if you're on the latest version
- Database option HOT 1
- Incorrect version of the Pest package HOT 5
- issues when install laravel with mysql HOT 3
- [11.x] The config files are back in the skeleton HOT 2
- Laravel 11 laravel/installer 5.6 not tagged HOT 1
- Removing unnecessary migration prompt when database connection settings are not configured HOT 1
- Option to select database type from command line HOT 1
- Database name is set to directory even with an actual DBMS set in options HOT 2
- Database.sqlite is created even if you slect mysql HOT 1
- breeze installs breeze without --dev flag HOT 1
- NewCommand does not check for herd valet existence HOT 5
- --database=sqlite with --jet causes Jetstream migration run to fail (database.sqlite is not created)
- Installer asks user password every time HOT 4
- Unnecessary SQLite Migrations Run at Installation HOT 3
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 installer.