Install or use php composer on windows (crash)

so basically i used composer to install windows without any problem. Suddenly I get this error on every project (manually installing composer .phar):

  [RuntimeException]                                                           
  Could not rename "Xampp\htdocs\symfony.dev\vendor/twig/twig/fabpot-Twig-  
  70fff8b" to "Users\xxx\AppData\Local\Temp/23cd0cd163431d8305983511f9  
  b1c2af".

      

I tried installing or updating in different php applications. Always the same result.

Also I tried to install composer via windows install which leads me to this error message:

Internal Error [ERR_LOGIC]: An internal script did not run correctly (exit code 1)

      

Until now, I could not get any official help. Has anyone else experienced this error? Your help is appreciated ... thanks a lot in advance!

+3


source to share


1 answer


When you run any command or run cmd. You received:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved. 
The system cannot find the path specified.

      



If so, try the following.

Open the Registry Editor, type regedit and hit Enter
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun 
and clear the values.

      

+5


source







All Articles