Reputation: 183
I have my application running using laravel 5.7 and when I install any package it throws some error . I searched the error in the google but I did not get any post which could help me.
This is the package I am trying to install :
sudo composer require mpdf/mpdf
The php-parse file is available in the path provided. Please help me if anybody has the solution for this
Please check the attachment of the error I get
Upvotes: 0
Views: 104
Reputation: 27295
There are some things that can go wrong. First the folder vendor/bin
isn't created because of some missing permission. So check all you permission on that folder.The next thing create folder to test if it's working.
So the main problem is that directory doesn't exist or can't be created.Create it on your own and run your command again.
Upvotes: 3