Comments (14)
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.
@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.
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.
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.
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.
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.
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.
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.
@nunomaduro Do you happen to not have valet?
from laravel-zero.
@TNovalis I have Valet. Do you have this issue?
from laravel-zero.
@nunomaduro Did you install valet before or after laravel-zero/installer
from laravel-zero.
@TNovalis Valet before. Why?
from laravel-zero.
@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.
@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)
- New Project doesn't work "Undefined variable $command" HOT 2
- [BUG] self-update from github releases not working HOT 1
- Cannot find sqlite database when upgrading HOT 3
- app:build ErrorException rename(app.phar, builds/app): the system cannot find the file specified (code 2) HOT 3
- Failing builds: "database/factories" and "database/seeders" was expected to exist HOT 1
- app:build gives the error: The system cannot find the file specified (code: 2) HOT 4
- Why is package auto-discovery is off ? HOT 4
- Site https://laravel-zero.com is down HOT 1
- website down/expired. Is this project still being worked on? HOT 1
- Website is down - domain expired? HOT 3
- laravel-zero.com is down HOT 1
- Website is not working anymore http://laravel-zero.com/ HOT 3
- Global Composer installation without commiting binary to version control?
- Using DB pagination methods inside a command throws an exception HOT 1
- On Windows, when running app:build "impossible find specified file" HOT 5
- QUEUES Call to undefined method Psr\Log\NullLogger::driver()
- Composer Warnings when installing pest-plugin-laravel HOT 3
- Can't update phpunit because of nunomaduro/collision version in the composer.json HOT 1
- console command suggestion
- DB related command appears when installing larastan HOT 1
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 laravel-zero.