Closed PrafullaKumarSahu closed 5 years ago
open bash profile
nano ~/.bash_profile
here just past somewhere this line, export PATH=~/.composer/vendor/bin:$PATH
now save this file and exit. Restart terminal and it will work.
I am getting [ Error writing ˜/.bash_profile: No such file or directory ]
.
If its not available, just create it.
Hello Sir, thank you for your reply, I created .bash_profile file inside my app root and tried packer and it again shows me undefined, so I tried to install it only for the current app and not global and I got this.
Prafullas-MacBook-Air:packerZero prafullakumarsahu$ packer
-bash: packer: command not found
Prafullas-MacBook-Air:packerZero prafullakumarsahu$ composer require bitfumes/laravel-packer --prefer-dist
^C
Prafullas-MacBook-Air:packerZero prafullakumarsahu$ composer require bitfumes/laravel-packer --prefer-dist
Content-Length mismatch, received 709535 bytes out of the expected 2264473
http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
Prafullas-MacBook-Air:packerZero prafullakumarsahu$ packer
-bash: packer: command not found
Prafullas-MacBook-Air:packerZero prafullakumarsahu$ composer require bitfumes/laravel-packer --prefer-dist
^C
Prafullas-MacBook-Air:packerZero prafullakumarsahu$ composer require bitfumes/laravel-packer --prefer-dist
Content-Length mismatch, received 709535 bytes out of the expected 2264473
http://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
Discovered Package: beyondcode/laravel-dump-server
Discovered Package: fideloper/proxy
Discovered Package: laravel/tinker
Discovered Package: nesbot/carbon
Discovered Package: nunomaduro/collision
Discovered Package: nunomaduro/laravel-console-menu
Discovered Package: nunomaduro/laravel-console-summary
Discovered Package: nunomaduro/laravel-console-task
Discovered Package: nunomaduro/laravel-desktop-notifier
Package manifest generated successfully.
Prafullas-MacBook-Air:packerZero prafullakumarsahu$ packer
-bash: packer: command not found
Prafullas-MacBook-Air:packerZero prafullakumarsahu$
so, I am still unable to use this .
I am adding the whole console result when I tried running it again on gist, please help me.
Hello sir,
I just tried to install this package and unable to get it correct, please let me know, what I am doing wrong?