Giter Club home page Giter Club logo

Comments (14)

TNovalis avatar TNovalis commented on May 18, 2024 1

Hmm... since here's how I fixed it.
composer global remove laravel/valet
composer global update
composer global require laravel-zero/installer
composer global require laravel/valet
(Technically it was cpriego/linux-valet but they have nearly the same dependencies)

from laravel-zero.

philip avatar philip commented on May 18, 2024 1

@nunomaduro That alone did not fix it but following @TNovalis's steps did. In other words, uninstalling laravel/valet first allowed laravel-zero/installer to install.

Unrelated, sorry for filing this issue against laravel-zero/laravel-zero instead of laravel-zero/installer 😳

from laravel-zero.

TNovalis avatar TNovalis commented on May 18, 2024 1

It was a dependency issue since laravel/valet depends on illuminate/container which depends on illuminate/contracts which laravel-zero/installer depends on.

Running composer global require laravel-zero/installer --update-with-dependencies should fix the issue without all the steps, I think.

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 18, 2024

Hey @philip, seems like you have an old version installed.

Please perform:
composer global remove laravel-zero/installer
composer global clear
composer global require laravel-zero/installer

And tell me the results. 👍

from laravel-zero.

philip avatar philip commented on May 18, 2024

Hi @nunomaduro , attached is the output.

~/Sites
$ composer global remove laravel-zero/installer
Changed current directory to /Users/philip/.composer
laravel-zero/installer is not required in your composer.json and has not been removed
Package "laravel-zero/installer" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Generating autoload files

~/Sites
$ composer global clear
Changed current directory to /Users/philip/.composer
Cache directory does not exist (cache-vcs-dir):
Clearing cache (cache-repo-dir): /Users/philip/.composer/cache/repo
Clearing cache (cache-files-dir): /Users/philip/.composer/cache/files
Clearing cache (cache-dir): /Users/philip/.composer/cache
All caches cleared.

~/Sites
$ composer global require laravel-zero/installer
Changed current directory to /Users/philip/.composer
Using version ^1.1 for laravel-zero/installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Conclusion: don't install laravel-zero/installer v1.1.1
- Conclusion: don't install laravel-zero/installer v1.1.2
- Conclusion: don't install laravel-zero/installer v1.1.3
- Conclusion: don't install laravel-zero/installer v1.1.4
- Conclusion: don't install laravel-zero/installer v1.1.5
- Conclusion: don't install laravel-zero/installer v1.1.6
- Conclusion: don't install laravel-zero/installer v1.1.7
- Installation request for laravel-zero/installer ^1.1 -> satisfiable by laravel-zero/installer[v1.1.0, v1.1.1, v1.1.2, v1.1.3, v1.1.4, v1.1.5, v1.1.6, v1.1.7].
- laravel-zero/installer v1.1.0 requires laravel-zero/framework ~3.6 -> satisfiable by laravel-zero/framework[v3.10.0, v3.6.0, v3.6.1, v3.6.10, v3.6.11, v3.6.12, v3.6.2, v3.6.3, v3.6.4, v3.6.5, v3.7.0, v3.7.1, v3.7.2, v3.8.0, v3.8.1, v3.8.2, v3.9.0, v3.9.1, v3.9.2].
- laravel-zero/framework v3.10.0 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.0 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.1 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.10 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.11 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.12 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.2 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.3 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.4 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.6.5 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.7.0 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.7.1 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.7.2 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.8.0 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.8.1 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.8.2 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.9.0 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.9.1 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- laravel-zero/framework v3.9.2 requires nunomaduro/laravel-desktop-notifier 1.3.* -> satisfiable by nunomaduro/laravel-desktop-notifier[v1.3.0].
- Conclusion: don't install nunomaduro/laravel-desktop-notifier v1.3.0

Installation failed, reverting ./composer.json to its original content.

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 18, 2024

There is clearly something weird on this. Please perform:

composer global remove "laravel-zero/framework"

composer global remove "nunomaduro/laravel-desktop-notifier"

Then try again.

from laravel-zero.

philip avatar philip commented on May 18, 2024

I barely understand/speak composer but I get the same result as those aren't installed. Here's my ~/.composer/composer.json file:

{
    "require": {
        "tightenco/lambo": "^0.4.1",
        "laravel/installer": "^1.4",
        "laravel/valet": "^2.0",
        "psy/psysh": "@stable"
    }
}

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 18, 2024

Sorry @philip. I have no ideia. Let's leave this issue open to understand if someone is having the same problem as you.

from laravel-zero.

TNovalis avatar TNovalis commented on May 18, 2024

@nunomaduro Do you happen to not have valet?

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 18, 2024

@TNovalis I have Valet. Do you have this issue?

from laravel-zero.

TNovalis avatar TNovalis commented on May 18, 2024

@nunomaduro Did you install valet before or after laravel-zero/installer

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 18, 2024

@TNovalis Valet before. Why?

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 18, 2024

@philip Try this:

composer global remove laravel-zero/installer
composer global update
composer global clear
composer global require laravel-zero/installer

@TNovalis I believe that the global update was the fix of your issue.

from laravel-zero.

nunomaduro avatar nunomaduro commented on May 18, 2024

@TNovalis @philip Thanks a lot for this info. I will update the docs tonight with some kind of troubleshooting section.

from laravel-zero.

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.