Error reverting composer json to its original content

0 votes

When I'm installing laravel package passport=~4.0, then it returns

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

Currently Laravel Version = 5.5 and PHP Version = 7.2.4
Please give me any solution to resolve this problem in laravel passport setup in windows 10 machine.

Sep 11, 2020 in Laravel by kartik
• 37,510 points
1,370 views

1 answer to this question.

0 votes

Hello @kartik,

I used to use this:

composer require paragonie/random_compat:2.* 
composer require laravel/passport=~4.0

I've seen it in this link

answered Sep 11, 2020 by Niroj
• 82,720 points

Related Questions In Laravel

+1 vote
1 answer

Error:file_put_contents(meta/services.json): failed to open stream: Permission denied?

Hello @kartik, Below steps helped me fix the ...READ MORE

answered Apr 3, 2020 in Laravel by Niroj
• 82,720 points
5,627 views
0 votes
1 answer

Error:login in Laravel. How to solve?

Hey, First check if your model login has a field password in ...READ MORE

answered Mar 26, 2020 in Laravel by Niroj
• 82,720 points
1,745 views
0 votes
1 answer

Error:Composer Out of memory in Laravel?

Hey @kartik, This Error  happens in almost all ...READ MORE

answered Mar 30, 2020 in Laravel by Niroj
• 82,720 points
4,654 views
0 votes
1 answer

Getting the query builder to output its raw SQL query as a String?

Hello, DB::QueryLog() only work after you execute the query $builder->get(). ...READ MORE

answered Mar 30, 2020 in Laravel by Niroj
• 82,720 points
719 views
+1 vote
1 answer

How to make anchor tag with routing using Laravel?

Hey @kartik, First you have to go to ...READ MORE

answered Mar 18, 2020 in Laravel by Niroj
• 82,720 points
7,121 views
0 votes
1 answer

What is redirection in Laravel?

Named route is used to give specific ...READ MORE

answered Mar 18, 2020 in Laravel by Niroj
• 82,720 points
814 views
0 votes
1 answer

How to install Laravel via composer?

Hello, This is simple you just need to ...READ MORE

answered Mar 23, 2020 in Laravel by Niroj
• 82,720 points
632 views
+1 vote
1 answer

What are named routes in Laravel and How can specify route names for controller actions?

Hey @kartik, Named routing is another amazing feature of ...READ MORE

answered Mar 23, 2020 in Laravel by Niroj
• 82,720 points
7,545 views
0 votes
2 answers

Error:Laravel Installation failed, reverting ./composer.json to its original content.?

Hello, You need to install php zip extension. Something ...READ MORE

answered Mar 26, 2020 in Laravel by Niroj
• 82,720 points
12,993 views
0 votes
2 answers