How to remove "mvn" from windows 10 CMD - maven

I installed node.js and run following command
npm install mvn
now, mvn command is binding to node.js even I uninstalled it.
>mvn
'node' is not recognized as an internal or external command,
operable program or batch file.
Actually, I need to binding "mvn" to maven which I already setted into system PATH.
but, it doesn't work (still points to node.js)
Please help.

There are a "mvn.cmd" file under the following folder
C:\Users\Your name\AppData\Roaming\npm
Simply delete this file.

Related

Flutter: unable to find git in path

When ever I run any command related to flutter in VS Code it returns the following:
'where' is not recognized as an internal or external command,
operable program or batch file.
Error: Unable to find git in your PATH.
exit code 1
I am on a Windows 10 Home system with Git in the system PATH variable.
Try to run the command from the command line (in the app folder).

how to install watcher on elasticsearch in windows?

I want to install watcher on elasticsearch, but when running
bin\plugin install file:///path/to/file
It says
'bin\plugin' is not recognized as an internal or external command,
operable program or batch file.
I have tried many ways but it does not know plugin at all!
If you're seeing examples that state to execute .\bin\plugin, the assumption is that your command prompt's working directory is in the root of your Elasticsearch install.
The two simple ways for you to solve this:
Make sure your working directory for your command prompt is set to the root of your install
Use the absolute path to the plugin script

Issues installing PhantomJS for windows: command not recognized

following the docs here: http://attester.ariatemplates.com/usage/phantom.html, I am trying to install phantomjs on my windows machine.
I tried adding multiple lines to my Path system variable, and yet, I get the same error in the command prompt when I type in phantomjs --version.
" 'phantomjs' is not recognized as an internal or external command, operable program or batch file."
I added the phantomjs.exe to C:\phantomjs\bin\, and added C:\phantomjs\bin\phantomjs to the path, and any variation that I could think of, such as:
C:\phantomjs\bin\phantomjs.exe\; C:\phantomjs\bin; C:\phantomjs\bin\phantomjs\;
How am I not installing this right?
You don't need to put all the directories to the environment PATH variable.
Add only following to your path and restart your command prompt.
C:\phantomjs\bin\
Add phantomjs.exe to C:\Windows\System32 folder.

Nodejitsu on Windows

I've just started playing around with Node.js and was trying to get Nodejitsu to work on my system (Windows 7, Node version 0.8.15)
I installed Jitsu using the "npm install jitsu -g" command, but beyond that trying to perform jitsu users confirm or deploy returns:
'jitsu' is not recognized as an internal or external command, operable
program or batch file.
I understand that I most probably need to add the jitsu install location in my path, but am not sure where jitsu has been installed.
Help much appreciated. Thanks
on a normal Node.js installation on windows you will find the npm modules located at
C:\Program Files\nodejs\node_modules\npm\bin
or in
C:\Users\user\AppData\Roaming\npm\jitsu
You need to set up the PATH environment variable to the correct path
An then you will be able to use Nodejitsu :)

Unable to get Docpad to run on Windows

I'm having problems getting Docpad to run on Windows.
I did the following.
Installed the latest version of Node
"NPM Install Docpad"
Then typed "docpad run" in an empty directory
I got an error message that said 'docpad' is not recognized as an internal or external command,
operable program or batch file.
Maybe I'm missing a step somewhere? I've also tried submitting the command to the node command prompt, and have also checked the troubleshooting guide and done a general google search.
Unless you installed an NPM module with the -g option (which is not indicated in the docpad web site so I suspect you didn't) the module won't be available on your PATH.
You can still run it by indicating the full path, for example run the following from the folder where you ran the npm install command:
node_modules\.bin\docpad.cmd
I had this same problem and a restart didn't help me.
What worked for me was installing via the 'nodejs command prompt' rather than the standard windows one.
I ran npm install -g docpad then navigated to my empty folder and ran docpad run and it worked straight away (after 1 hour messing around with the windows command prompt).

Resources