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,510 points
401 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,720 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
16,337 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,720 points
12,537 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,720 points
1,932 views
+5 votes
2 answers

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

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

answered Dec 13, 2020 in Laravel by Gitika
• 65,870 points
26,650 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,109 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
812 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
630 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,519 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,720 points
287 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,720 points
591 views