Originally Posted by
xchs
It is not wrong to omit the php from the command line since the contao-console script already contains the shebang #!/usr/bin/env php, so the PHP interpreter should parse the script.
But when I tried to use it without it, I was getting error:
Code:
The term 'vendor/bin/contao-console' is not recognized as the name of a cmdlet, function, s
cript file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is cor
rect and try again.
At line:1 char:1
+ vendor/bin/contao-console contao:install:unlock
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (vendor/bin/contao-console:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Bookmarks