I'm trying to run Composer -> install (no-dev) with Netbeans IDE 7.4 but i get the following error:
[RuntimeException]
Error Output: 'php' is not recognized as an internal or external command,
operable program or batch file.
I already put php.exe path on Netbeans.
Related
I'm trying to run 'composer install' command on root directory of existing project, but when I run this command it's giving 'ext-zend-opcache' missing error.enter image description here
I've enabled zendextension in php.ini file Php.ini file screen shot, and to verify whether it has enabled or not I've run 'php -v' in command prompt which is saying 'failed loading php_opcache.dll' Php -v Command Prompt screen shot
I'm using xampp v3.2.2 because php 7.2 was required to run project which was mentioned in composer.json file of project.
g++ is not recognized in the command prompt, but I can see it in the bin file of Mingw64
I downloaded msys2-x86_64-20221028.exe and all the packages and toolchains, and I can see the g++,gcc and gdb file in the bin folder. I added the file path to the environment variable, then hit the g++ --version command to check on the installation. But the console replied me with "'g++' is not recognized as an internal or external command,
operable program or batch file." I expected it to be recognized.
I installed the flutter But I want to run it in CMD, I get this error:
'crumb' is not recognized as an internal or external command,
operable program or batch file.
Error: Unable to find git in your PATH.
All addresses are correct
Prerequisites installed
I'm trying to build a project that I have imported into eclipse.
I ran mvn clean which ran fine.
Running mvn install gives me the following error:
[WARNING] 'rpmbuild' is not recognized as an internal or external command,
[WARNING] operable program or batch file.
Failed to execute goal org.codehaus.mojo:rpm-maven-plugin:2.0-beta-2:rpm (default)
on project fusion-restful: RPM build execution returned: '1' executing 'cmd.exe /X /C
"rpmbuild -bb --buildroot C:\Users\kb60500\fusion-portal\fusion-restful\target\rpm\buildroot
--define "_topdir C:\Users\kb60500\fusion-portal\fusion-restful\target\rpm" --target noarch fusion-restful.spec"' -> [Help 1]
rpmbuild is a linux specific tool that is not available for windows by default. this tool is executed by the plugin. You can use cygwin to run it on windows but I would think the best results are created using a linux system to execute your build. There is a blog post about this (older but still looks correct).
Now I'm having other issues where Protractor is not found after installing using npm -g .
Some background:
I was previously having issues with npm installs, but it works now that I have set the correct proxy settings at the client site - i.e. .npmrc file exists under c:\Users(myUserName) which contains the registry and proxy keys.
For example, I install Protractor as follows :
C:\Projects\prot-test>npm install -g protractor
C:\Users\...\AppData\Roaming\npm\webdriver-manager -> C:\Users \...\AppData\Roaming\npm\node_modules\protractor\bin\webdriver-manager
C:\Users\...\AppData\Roaming\npm\protractor -> C:\Users\...\AppDataRoam
ing\npm\node_modules\protractor\bin\protractor
C:\Users\...\AppData\Roaming\npm `-- protractor#4.0.9
However, as soon as I check the installation, it cannot find it :
C:\Projects\prot-test>protractor --version
'protractor' is not recognized as an internal or external command, operable program or batch file.
****** UPDATE ******
It does appear to be a Win 7 environment issue with PATH not getting updated (i.e. I'm pretty much on lock-down at the client site).
For example, manually navigating to ..\npm directory seems to be required :
C:\Users\..\AppData\Roaming\npm>protractor --version
Version 4.0.9
C:\Users\..\AppData\Roaming\npm>
Your advice is appreciated....
Bob
Yes, its a PATH issue on Windows machines.Make sure if you have below configured in your system variables.
PATH
C:\Program Files\nodejs;C:\Users\<<user>>\AppData\Roaming\npm;
NODE_PATH
C:\Users\<<user>>\AppData\Roaming\npm\node_modules
If it still doesn't work for you still, check if you have all the path semi-colon seperated