======== TEMPLATE BUG FORM ========
Wappler Version : 6.8.0
Operating System : Windows 11
Server Model: PHP
Database Type: N/A
Hosting Type: N/A
Expected behavior
If I select PHP Composer to run in my Project Settings and there is an error, I expect it to display a notification in red saying that it has not run successfully.
Actual behavior
What actually happens?
It displays a notification in green saying it did run successfully.
How to reproduce
For me, it ran with an error message visible in the console saying:
& : The term 'php' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a
path was included, verify that the path is correct and try again.
At C:\Users\anton\scoop\apps\composer\current\composer.ps1:2 char:10
+ else { & php (Join-Path $PSScriptRoot "composer.phar") @args }
+ ~~~
+ CategoryInfo : ObjectNotFound: (php:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
(I suspect this error was because I had deleted the scoop/php install, which was in conflict with my WAMP installation.)