Laravel 安装无法将./composer.json还原为其原始内容。拉雷维尔#1
在安装nexmo/laravel时,我遇到以下错误Laravel 安装无法将./composer.json还原为其原始内容。拉雷维尔#1,laravel,Laravel,在安装nexmo/laravel时,我遇到以下错误 C:\xampp\htdocs\myLaravel1>composer require nexmo/laravel 1.0.0-beta3 Problem 1 - Can only install one of: nexmo/client[1.0.0-beta3, 1.0.0-beta4]. - Can only install one of: nexmo/client[1.0.0-beta4, 1.0.0-beta3]. - Ca
C:\xampp\htdocs\myLaravel1>composer require nexmo/laravel 1.0.0-beta3
Problem 1
- Can only install one of: nexmo/client[1.0.0-beta3, 1.0.0-beta4].
- Can only install one of: nexmo/client[1.0.0-beta4, 1.0.0-beta3].
- Can only install one of: nexmo/client[1.0.0-beta3, 1.0.0-beta4].
- nexmo/laravel 1.0.0-beta3 requires nexmo/client 1.0.0-beta3 -> satisfiable
by nexmo/client[1.0.0-beta3].
- Installation request for nexmo/laravel 1.0.0-beta3 -> satisfiable by nexmo
/laravel[1.0.0-beta3].
- Installation request for nexmo/client (locked at 1.0.0-beta4, required as
@beta) -> satisfiable by nexmo/client[1.0.0-beta4].
提前感谢。要安装特定版本,您需要使用
软件包\u name:version
语法
composer require nexmo/laravel:1.0.0-beta3
除此之外,nexmo/client
被锁定在版本1.0.0-beta4
。所以你需要修改这个版本。因此,请尝试以下方法:
composer require nexmo/laravel:1.0.0-beta4
C:\xampp\htdocs\myLaravel1>编写器需要nexmo/laravelu更新您的编写器,然后再次尝试安装软件包。@Nisanth您好,您在这里是吗?先生,由于缺少注释,注释被阻止,无法获取您的信息。