Windows 10 composer freeze












2















I have problems with composer on windows 10. I am using xampp server with PHP 7.1.23 and composer version 1.7.3. I can see both in cmd - php -v and composer -V. The problem is that when I run a command with composer it just freezes and nothig happens after that. For example:



runing - composer global require laravel/installer
leads to this - Changed current directory to C:/Users/userName/AppData/Roaming/Composer



And nothing changes for hours. It's the same for composer update/install in specific project.



What I tried:




  1. Reinstall composer and xampp with and without avast turned on.

  2. Changed system paths for composer/php

  3. composer diagnose - everything is ok

  4. composer clear-cache

  5. Installed xampp with php version 7.2

  6. Run cmd like administrator


Nothing changed. Could you please give me some advices where I should look for that problem?



UPDATE:



It seems like the problem is with composer last version 1.7.3. I replaced the phar file in C:ProgramDataComposerSetupbin with 1.7.2 phar file wich you can download from https://getcomposer.org/download/, just scroll down to the bottom of the page.










share|improve this question

























  • When Composer starts acting weird it can also help to reinstall using the Windows installer, which takes care of fixing stuff like settings or PATH.

    – Álvaro González
    Nov 15 '18 at 13:49






  • 1





    @ÁlvaroGonzález Hi, yes I did that couple of times and it didn't help.

    – Boris Dimitrov
    Nov 15 '18 at 14:49






  • 1





    You can also use -vvv to figure out what step it's freezing at.

    – Álvaro González
    Nov 15 '18 at 15:22











  • Thank you very much!

    – Boris Dimitrov
    Nov 15 '18 at 15:46
















2















I have problems with composer on windows 10. I am using xampp server with PHP 7.1.23 and composer version 1.7.3. I can see both in cmd - php -v and composer -V. The problem is that when I run a command with composer it just freezes and nothig happens after that. For example:



runing - composer global require laravel/installer
leads to this - Changed current directory to C:/Users/userName/AppData/Roaming/Composer



And nothing changes for hours. It's the same for composer update/install in specific project.



What I tried:




  1. Reinstall composer and xampp with and without avast turned on.

  2. Changed system paths for composer/php

  3. composer diagnose - everything is ok

  4. composer clear-cache

  5. Installed xampp with php version 7.2

  6. Run cmd like administrator


Nothing changed. Could you please give me some advices where I should look for that problem?



UPDATE:



It seems like the problem is with composer last version 1.7.3. I replaced the phar file in C:ProgramDataComposerSetupbin with 1.7.2 phar file wich you can download from https://getcomposer.org/download/, just scroll down to the bottom of the page.










share|improve this question

























  • When Composer starts acting weird it can also help to reinstall using the Windows installer, which takes care of fixing stuff like settings or PATH.

    – Álvaro González
    Nov 15 '18 at 13:49






  • 1





    @ÁlvaroGonzález Hi, yes I did that couple of times and it didn't help.

    – Boris Dimitrov
    Nov 15 '18 at 14:49






  • 1





    You can also use -vvv to figure out what step it's freezing at.

    – Álvaro González
    Nov 15 '18 at 15:22











  • Thank you very much!

    – Boris Dimitrov
    Nov 15 '18 at 15:46














2












2








2


0






I have problems with composer on windows 10. I am using xampp server with PHP 7.1.23 and composer version 1.7.3. I can see both in cmd - php -v and composer -V. The problem is that when I run a command with composer it just freezes and nothig happens after that. For example:



runing - composer global require laravel/installer
leads to this - Changed current directory to C:/Users/userName/AppData/Roaming/Composer



And nothing changes for hours. It's the same for composer update/install in specific project.



What I tried:




  1. Reinstall composer and xampp with and without avast turned on.

  2. Changed system paths for composer/php

  3. composer diagnose - everything is ok

  4. composer clear-cache

  5. Installed xampp with php version 7.2

  6. Run cmd like administrator


Nothing changed. Could you please give me some advices where I should look for that problem?



UPDATE:



It seems like the problem is with composer last version 1.7.3. I replaced the phar file in C:ProgramDataComposerSetupbin with 1.7.2 phar file wich you can download from https://getcomposer.org/download/, just scroll down to the bottom of the page.










share|improve this question
















I have problems with composer on windows 10. I am using xampp server with PHP 7.1.23 and composer version 1.7.3. I can see both in cmd - php -v and composer -V. The problem is that when I run a command with composer it just freezes and nothig happens after that. For example:



runing - composer global require laravel/installer
leads to this - Changed current directory to C:/Users/userName/AppData/Roaming/Composer



And nothing changes for hours. It's the same for composer update/install in specific project.



What I tried:




  1. Reinstall composer and xampp with and without avast turned on.

  2. Changed system paths for composer/php

  3. composer diagnose - everything is ok

  4. composer clear-cache

  5. Installed xampp with php version 7.2

  6. Run cmd like administrator


Nothing changed. Could you please give me some advices where I should look for that problem?



UPDATE:



It seems like the problem is with composer last version 1.7.3. I replaced the phar file in C:ProgramDataComposerSetupbin with 1.7.2 phar file wich you can download from https://getcomposer.org/download/, just scroll down to the bottom of the page.







php windows composer-php






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 15 '18 at 12:16







Boris Dimitrov

















asked Nov 15 '18 at 10:18









Boris DimitrovBoris Dimitrov

285




285













  • When Composer starts acting weird it can also help to reinstall using the Windows installer, which takes care of fixing stuff like settings or PATH.

    – Álvaro González
    Nov 15 '18 at 13:49






  • 1





    @ÁlvaroGonzález Hi, yes I did that couple of times and it didn't help.

    – Boris Dimitrov
    Nov 15 '18 at 14:49






  • 1





    You can also use -vvv to figure out what step it's freezing at.

    – Álvaro González
    Nov 15 '18 at 15:22











  • Thank you very much!

    – Boris Dimitrov
    Nov 15 '18 at 15:46



















  • When Composer starts acting weird it can also help to reinstall using the Windows installer, which takes care of fixing stuff like settings or PATH.

    – Álvaro González
    Nov 15 '18 at 13:49






  • 1





    @ÁlvaroGonzález Hi, yes I did that couple of times and it didn't help.

    – Boris Dimitrov
    Nov 15 '18 at 14:49






  • 1





    You can also use -vvv to figure out what step it's freezing at.

    – Álvaro González
    Nov 15 '18 at 15:22











  • Thank you very much!

    – Boris Dimitrov
    Nov 15 '18 at 15:46

















When Composer starts acting weird it can also help to reinstall using the Windows installer, which takes care of fixing stuff like settings or PATH.

– Álvaro González
Nov 15 '18 at 13:49





When Composer starts acting weird it can also help to reinstall using the Windows installer, which takes care of fixing stuff like settings or PATH.

– Álvaro González
Nov 15 '18 at 13:49




1




1





@ÁlvaroGonzález Hi, yes I did that couple of times and it didn't help.

– Boris Dimitrov
Nov 15 '18 at 14:49





@ÁlvaroGonzález Hi, yes I did that couple of times and it didn't help.

– Boris Dimitrov
Nov 15 '18 at 14:49




1




1





You can also use -vvv to figure out what step it's freezing at.

– Álvaro González
Nov 15 '18 at 15:22





You can also use -vvv to figure out what step it's freezing at.

– Álvaro González
Nov 15 '18 at 15:22













Thank you very much!

– Boris Dimitrov
Nov 15 '18 at 15:46





Thank you very much!

– Boris Dimitrov
Nov 15 '18 at 15:46












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53317160%2fwindows-10-composer-freeze%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53317160%2fwindows-10-composer-freeze%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Florida Star v. B. J. F.

Danny Elfman

Retrieve a Users Dashboard in Tumblr with R and TumblR. Oauth Issues