Can you run php?
Jul 14, 2022
8
Level 9
Place Composer’s project vendor bin directory in your
Hello,
I am on windows 11 and I am trying to install a package called Lucid so I composer required it successfully, however they have this segment in their docs which says:
Make sure to place Composer’s project vendor bin directory in your $PATH so the lucid executable can be located by your system. Usually it’s done by running export PATH="$PATH:./vendor/bin" to have it available in your current Terminal session, or add it to your corresponding Terminal profile (e.g. ~/.bashrc, ~/.bash_profile, ~/.zshrc) to have it permanently loaded with every session.
I did exactly that by running export PATH="$PATH:./vendor/bin" and then when I run lucid init:micro I get this error in my terminal /usr/bin/env: ‘php’: No such file or directory.
by the way, composer is working fine in my machine.
Please or to participate in this conversation.