last day (14 days later) » 

03:51
0
Q: Can not find .composer folder in home/<user> directory

shakyl mansurionce I have Error with composer so I uninstalled and delete the .composer folder. Now I again install the composer but .composer folder can not be created. If .composer folder can not be created, I can not run Laravel globally. Please help me with this.

So Laravel is giving you an error?
i have tried so many times that command
I can not run laravel command in terminal, I have also set my path variable
What does it say?
If I type laravel in terminal, I tells command not found
What does which laravel give you?
03:51
I have install laravel 5.2
What does running the command which laravel give you?
simply if i type laravel It gives me command not found
No type: "which laravel" in your terminal. What does it tell you?
Without the quotes, type it.
It does not give me any output
Ok. What does "sudo apt-get install laravel" give you?
03:56
It gives me this "E: Unable to locate package laravel"
What does "which composer" give you?
output : /usr/local/bin/composer
now what do i do??
Working on it... I have no experience with laravel or composer so I have to play this by instinct, common sense, tutorials, and ear.
okay fine, I have to solve that by this evening
What does 'composer global require "laravel/installer"' give you?
04:01
i have tried this it runs successfully
But what does it say?
Changed current directory to /home/cygnet/.config/composer
Using version ^1.3 for laravel/installer
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Nothing to install or update
Writing lock file
Generating autoload files
Is "/home/cygnet" your homefolder?
Ok. It looks like "/home/cygnet/.config/composer" is your new configuration directory. What is the actual problem? What causes an error or whatever?
04:07
we need .composer folder in "/home/cygnet/" directory so that we can run laravel command in terminal, It creates automatically but in my case i can not get that
".composer"
Do you know where laravel is normally installed to?
Is it installed in your home folder?
yess wait
i know laravel installed through composer and it has been placed in vendor directoty
What do you normally type to run laravel?
laravel simply
i think we are doing nothing
cause this is simple everyone knows
I'm asking all these "simple" questions because you still haven't explained why you have to have a .composer directory in your home folder... Maybe if you told me why that's necessary I could be a little more help. Alternatively, it's 0017h where I live and I want sleep, so I'm not forcing you to stay here...
04:18
okay I am sorry
thank you so so much
thiings has been don succesfully
your questions gives me the hint
It's fine ... I might be getting a little <del>touchy</del> sleepy.
how I delete the folder and as how i created and things runs succesfully well
What???
by the thank you so so much
okay write the answer in my question so it can be helpful for others : create one folder
Could you please give me the output of "cd /home/cygnet/.config/composer; ls -Rl"?
I'm am so confused... Did you fix your problem?
04:22
create one folder ".composer" and then run this command "composer global require "laravel/installer"
"
yess my problem has been solved
Good. Go ahead and answer your own question if you want. I'm glad you got your problem fixed.
where are you from??
04:35
North America. Why do you ask?

last day (14 days later) »