Invoking the binary ./vendor/bin/expressive Windows 10

“.” it is not recognized as an internal or external command,
program or batch file executable.

I’ve read that in Zend Framework, some times files zf.php, zf.bat, are placed to path where is thrown out php cli.

Does anyone know what I should do?

When I try to use:

composer expressive middleware:create “App\XClacksOverheadMiddleware”
Output is:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command “expressive” is not defined.

Is zendframework/zend-expressive-tooling installed?

composer.json should contain this line in the scripts section: https://github.com/zendframework/zend-expressive-skeleton/blob/dbb3eb675b7081a6c6acd6e97e74c36692357c36/composer.json#L95

Thank You Very Much! It functions.

Yes I’d installed zendframework/zend-expressive-tooling. but my composer.json was incomplete.

Thank You!

I have the same issue, I’m working with windows 8.
I have installed zendframework/zend-expressive-tooling` and my composer.json file looks okay.
Any idea?

Is it the same error message you get?

Command “expressive” is not defined.

This is my error:

“.” it is not recognized as an internal or external command,

I am not familiar with the error message. Please provide some more information. What command are you executing? What is the complete error message?

I am following this https://docs.zendframework.com/zend-expressive/v3/reference/cli-tooling/

So I installed zendframework/zend-expressive-tooling by the next step I have to fill in this line ./vendor/bin/expressive at the composer. I use the command prompt. When I have entered it I get that error above

Please execute .\vendor\bin\expressive and see, if it works.

Thank you that’s how it works. :+1:
Now it actually looks pretty logical.
this would not have happened if it were right. :expressionless:

IIRC this is only an issue with the command prompt, Powershell and Windows Terminal should to interpret it correctly.