Error Laravel InvalidArgumentException Script post-install-cmd is not defined in this package

0 votes

I am trying to install, but i have a problem after installing the update. The output:

[InvalidArgumentException] Script "post-install-cmd" is not defined in this package"

How can I fix this error?

Apr 6, 2020 in Laravel by kartik
• 37,520 points
1,491 views

1 answer to this question.

0 votes

Hello @kartik,

Do composer global update before laravel new <project-name> and you'll be alright.

 It will update your laravel installer to its latest version to support Laravel 5.5 LTS or any further update on Laravel.

Thank You!!

answered Apr 6, 2020 by Niroj
• 82,840 points

Related Questions In Laravel

+3 votes
2 answers

Error - 419 Sorry, your session has expired.Post request in Laravel?

Sometimes the cache can also lead to ...READ MORE

answered Aug 28, 2020 in Laravel by Ishita
• 150 points
31,200 views
+1 vote
1 answer

Error:Class '\App\User' not found in Laravel when changing the namespace in Laravel?

Hello @kartik Go to config/auth.php and change App\User:class ...READ MORE

answered Apr 3, 2020 in Laravel by Niroj
• 82,840 points
30,165 views
0 votes
1 answer

Constructor redirect is not working in Laravel?

Hello, vent with Illuminate\Routing\Redirector, laravel set redirect in ...READ MORE

answered Apr 6, 2020 in Laravel by Niroj
• 82,840 points
5,563 views
+6 votes
2 answers

Error:Uncaught ReferenceError: is not defined at HTMLAnchorElement.onclick

The most common reason behind the error ...READ MORE

answered Dec 14, 2020 in Laravel by Gitika
• 65,770 points
66,210 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,840 points
23,012 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,840 points
2,995 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,840 points
2,918 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,840 points
44,691 views
0 votes
1 answer

How to identify wheather the request is HTTP GET or HTTP POST in Laravel?

Hey, In order to identify the type of ...READ MORE

answered Mar 19, 2020 in Laravel by Niroj
• 82,840 points
3,291 views
0 votes
1 answer

How to check request is ajax or not in Laravel?

Hello, Laravel allow use of their library method that ...READ MORE

answered Mar 23, 2020 in Laravel by Niroj
• 82,840 points
13,131 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP