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 in Laravel by kartik
• 35,500 points
191 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 by Niroj
• 76,940 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 in Laravel by Ishita
• 150 points
10,444 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 in Laravel by Niroj
• 76,940 points
6,267 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 in Laravel by Niroj
• 76,940 points
1,209 views
+5 votes
1 answer

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

Hello, With my limited understanding, I tried to ...READ MORE

answered Apr 14 in Laravel by Niroj
• 76,940 points
14,913 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 in Laravel by Niroj
• 76,940 points
3,470 views
0 votes
1 answer

What is redirection in Laravel?

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

answered Mar 18 in Laravel by Niroj
• 76,940 points
412 views
0 votes
1 answer

How to install Laravel via composer?

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

answered Mar 23 in Laravel by Niroj
• 76,940 points
286 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 in Laravel by Niroj
• 76,940 points
4,167 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 in Laravel by Niroj
• 76,940 points
134 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 in Laravel by Niroj
• 76,940 points
319 views