Code Monkey home page Code Monkey logo

Comments (13)

corcronje avatar corcronje commented on July 21, 2024 17

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.

driesvints avatar driesvints commented on July 21, 2024 3

Try running composer global update.

from installer.

jasonlfunk avatar jasonlfunk commented on July 21, 2024 2

Okay, so what else could be the cause? As far as I know, all my packages are up to date.

from installer.

exeptionerror avatar exeptionerror commented on July 21, 2024 2

[Solved] The “no-ansi” option does not exist in Laravel

from installer.

sv-hmelevsky avatar sv-hmelevsky commented on July 21, 2024 1

image

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.

jasonlfunk avatar jasonlfunk commented on July 21, 2024

@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.

driesvints avatar driesvints commented on July 21, 2024

Seems to work fine for me:

Screenshot 2021-03-31 at 11 34 14

from installer.

webworkerJoshua avatar webworkerJoshua commented on July 21, 2024

I have the same problem:
laravel-bug-no-ansi

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.

webworkerJoshua avatar webworkerJoshua commented on July 21, 2024

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.

jasonlfunk avatar jasonlfunk commented on July 21, 2024

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.

patobhen avatar patobhen commented on July 21, 2024

Hi

Follow this steps

  1. composer create-project laravel/laravel name-project

  2. cd name-project

Something is wrong with the package laravel installer and the global variables

Regards

from installer.

dlmcglone avatar dlmcglone commented on July 21, 2024

downgrading symfony also worked for me.

from installer.

ledunguit avatar ledunguit commented on July 21, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.