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
• 10,990 points
52 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
• 22,110 points

Related Questions In Laravel

0 votes
1 answer

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

Hello, case 1 : if you are running ...READ MORE

answered Mar 31 in Laravel by Niroj
• 22,110 points
1,050 views
0 votes
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
• 22,110 points
382 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
• 22,110 points
143 views
0 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
• 22,110 points
1,107 views
0 votes
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
• 22,110 points
417 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
• 22,110 points
62 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
• 22,110 points
64 views
0 votes
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
• 22,110 points
139 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
• 22,110 points
39 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
• 22,110 points
55 views