Coder Social home page Coder Social logo

Issue getting this to install about cli HOT 9 CLOSED

statamic avatar statamic commented on June 15, 2024
Issue getting this to install

from cli.

Comments (9)

jasonvarga avatar jasonvarga commented on June 15, 2024

Did you only try it once? What if you cancel and try again?

from cli.

asha23 avatar asha23 commented on June 15, 2024

I've tried it a number of times now. Deleted the lock file, restarted my machine. It just hangs for some reason.

from cli.

jasonvarga avatar jasonvarga commented on June 15, 2024

Can you globally require some other package?

from cli.

asha23 avatar asha23 commented on June 15, 2024

Good point. Just tried

composer global require laravel/installer

And it now hangs on both statamic and laravel...

Changed current directory to /Users/********/.composer
Info from https://repo.packagist.org: #StandWithUkraine
Using version ^4.2 for laravel/installer
./composer.json has been updated
Running composer update laravel/installer
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Lock file operations: 0 installs, 1 update, 0 removals
  - Upgrading laravel/installer (v4.2.10 => v4.2.15)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 1 install, 1 update, 0 removals
  - Downloading laravel/installer (v4.2.15)
  - Downloading statamic/cli (2.4.2)
 0/2 [>---------------------------]   0%

User error I guess.. Maybe my composer installation is broken somehow.

from cli.

jasonvarga avatar jasonvarga commented on June 15, 2024

Try removing statamic/cli from your global composer.json then try installing laravel/installer. Just to rule out that the cli package still isn't the cause.

from cli.

asha23 avatar asha23 commented on June 15, 2024

Did that, and removed composer.lock as well.

It downloads some things I think. It's now hanging on - Downloading laravel/valet (v3.1.9)

from cli.

asha23 avatar asha23 commented on June 15, 2024

In the top bar of the terminal it's flickering between php and git usr/local/bin/composer global require laravel/installer

from cli.

jasonvarga avatar jasonvarga commented on June 15, 2024

At this point I'd say it's not a Statamic issue so you should open up one on the composer/composer repo.

I hope you can figure it out, that sounds frustrating. Sorry about that!

from cli.

asha23 avatar asha23 commented on June 15, 2024

Yeah. looks like it might be an issue on my end. Thanks for your help

from cli.

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.