Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependency: nexmo-notification-channel #26818

Closed
edgrosvenor opened this issue Dec 12, 2018 · 10 comments
Closed

Missing dependency: nexmo-notification-channel #26818

edgrosvenor opened this issue Dec 12, 2018 · 10 comments

Comments

@edgrosvenor
Copy link
Contributor

  • Laravel Version: 5.7.6
  • PHP Version: 7.2.2
  • Database Driver & Version:

Description:

When running composer update, I get the following error:

  • laravel/framework 5.7.x-dev requires laravel/nexmo-notification-channel ^1.0 -> no matching package found.

I'm guessing this has something to do with it: #26689

Steps To Reproduce:

composer update

@driesvints
Copy link
Member

I'm able to update so I think you might need to add the --with-dependencies flag in your case.

@edgrosvenor
Copy link
Contributor Author

@driesvints - Same result.

@edgrosvenor
Copy link
Contributor Author

[Composer\DependencyResolver\SolverProblemsException]
Problem 1
- The requested package laravel/nexmo-notification-channel could not be found in any version, there may be a typo in the package name.
Problem 2
- Installation request for laravel/framework 5.7.* -> satisfiable by laravel/framework[5.7.x-dev].
- laravel/framework 5.7.x-dev requires laravel/nexmo-notification-channel ^1.0 -> no matching package found.
Problem 3
- laravel/framework 5.7.x-dev requires laravel/nexmo-notification-channel ^1.0 -> no matching package found.
- rap2hpoutre/laravel-log-viewer dev-master requires illuminate/support 4.2.|5. -> satisfiable by laravel/framework[5.7.x-dev].
- Installation request for rap2hpoutre/laravel-log-viewer dev-master -> satisfiable by rap2hpoutre/laravel-log-viewer[dev-master].

Potential causes:

Read https://getcomposer.org/doc/articles/troubleshooting.md for further common problems.

@edgrosvenor
Copy link
Contributor Author

Though to be fair, this might be more of a composer / packagist issue since I can do this:

composer search laravel/nexmo-notification-channel

and I get

laravel/nexmo-notification-channel Nexmo Notification Channel for laravel.
laravel/nexmo-notification-channel Nexmo Notification Channel for laravel.

@driesvints
Copy link
Member

Yeah I think we're missing something here. The package can be found on packagist: https://packagist.org/packages/laravel/nexmo-notification-channel#v1.0.1

@edgrosvenor
Copy link
Contributor Author

I can see it on packagist.

If I try to require it without a version, I get:

  • Can only install one of: laravel/nexmo-notification-channel[2.0.x-dev, 1.0.x-dev].

If I specify a version, I get:

  • The requested package laravel/nexmo-notification-channel could not be found in any version, there may be a typo in the package name.

That's all the hints I can give from where I'm sitting. Unfortunately, I don't maintain any composer packages so I'm not sure what a composer or packagist problem looks like.

@driesvints
Copy link
Member

You're not requiring the packages yourself right? They come installed with 5.7

In the future 5.8 version you'll have to require them manually

@edgrosvenor
Copy link
Contributor Author

No. I'm not. I attempted to, just to see if that would work and let me get past the dependency, but it failed.

@driesvints
Copy link
Member

Tried removing the vendor directory & deleting the composer.lock file and do a composer install?

@edgrosvenor
Copy link
Contributor Author

OK. That did it. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants