Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/laravel/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Laravel 安装无法将./composer.json还原为其原始内容。拉雷维尔#1_Laravel - Fatal编程技术网

Laravel 安装无法将./composer.json还原为其原始内容。拉雷维尔#1

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

在安装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].

- 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您好,您在这里是吗?先生,由于缺少注释,注释被阻止,无法获取您的信息。