Error installing composer package
![Post Post](./styles/afterburner/imageset/icon_post_target.gif)
- Code: Select all
Executing: composer require "studio24/rotate" --no-interaction
- Code: Select all
Loading composer repository...
Composer repository was successfully loaded.
System.InvalidCastException: Das COM-Objekt des Typs "System.__ComObject" kann nicht in den Schnittstellentyp "Devsense.PHP.Nodes.Environments.IIS.VersionManager.IIISUserData" umgewandelt werden. Dieser Vorgang konnte nicht durchgeführt werden, da der QueryInterface-Aufruf an die COM-Komponente für die Schnittstelle mit der IID "{15BDF676-788F-4D82-88F3-FDB3ADAB3D3A}" aufgrund des folgenden Fehlers nicht durchgeführt werden konnte: Schnittstelle nicht unterstützt (Ausnahme von HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
at Devsense.PHP.Nodes.Environments.IIS.VersionManager.IIISUserData.SetupIISDirectory(Int32 overrideFlag)
at Devsense.PHP.Nodes.Environments.IIS.IISServerConfiguration.EnsureIisDirectory()
at Devsense.PHP.Nodes.Environments.IIS.IISServerConfiguration.Initialize()
at Devsense.PHP.Nodes.Environments.IIS.IISSiteConfiguration.<Validate>d__13.MoveNext()
at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Devsense.PHP.Nodes.Environments.IssuesDialog.ValidateAndFixWithUI(IPhpEnvironment env, IssueFlags requiredFlags)
at PHP.Project.PHPProjectNode.GetPhpInterpreterPathInternal(Boolean verify)
at PHP.Project.Composer.ComposerManager.GetConfiguration()
at Devsense.PHP.Composer.ComposerCommand.<ExecuteAsync>d__23.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Devsense.PHP.Composer.ComposerCommander.<DoCommandExecute>d__13.MoveNext()
This only happens when I am using IIS Express as the server. When I switch to "Built-in Web Server", the error does not occur.