Install programs (I guess I did well) and my problem begins when I try to write the path for the "Program" section in the File Watcher.
Which one is the right path?
It must be a part to (globally installed) Jade executable, like C:\Users\your.name\AppData\Roaming\npm\jade.cmd if you are on Windows or /usr/local/bin/jade on OSX.
Do you have Jade installed globally? Please run 'npm install jade -g', then test jade in your system terminal by running 'jade <your jade file>.jade'. Then specify a path to installed jade script as a 'Program' in your file watcher
Related
how to konw a package global installed full path by pnpm?
I have tried pnpm store path.
that was not precise enough.
you can use where <app> to list paths of app if using windows command shell.
# example
where vue
I am using ActivePerl and tried to install a module using PPM(Perl Package Manager)
The installation is happening in the folder C:\TEMP\perl---please-run-the-install-script---/.
Can anybody tell me why this is happening? And how I solve this problem so that the modules installing using PPM will move to the correct path(ie D:\Perl\lib\)
The Perl is installed in D:\Perl\
The D:\Perl\bin path is configured correctly in path env.variable.
It seems like you are using the ActivePerl zip file but have not yet ran the install.bat file - see https://community.activestate.com/forum/where-did-ppm-put-modules
I have installed appium-1.5.1 from MAC terminal. The installation is ok but I need the path where it is installed for some reason. Can anyone please tell me where is the installation directory in?
If you installed the GUI appium app (the app whose icon you can click in your Mac's Launchpad), then as orde suggested earlier, just see /Applications/Appium.app
But if you say you installed appium via your terminal, I'm going to take a guess that you installed it using npm. If you installed appium by typing something like npm install -g appium, then all the below is for you:
You can find the appium executable by typing this into your terminal:
which appium
the output of typing this command in your terminal should be something like this (the path may be different for you):
/usr/local/bin/appium
If 'which' gave you a filepath like this, then this path is your appium executable file (the file that is run if you type 'appium' into your terminal).
If you want to find appium's actual installed files, then take the path you just got above, and run the following command, replacing my path with yours:
ls -l /usr/local/bin/appium
the result of that command will look something like this:
lrwxr-xr-x 1 qamacbook admin 44 Apr 19 11:07 /usr/local/bin/appium -> ../lib/node_modules/appium/build/lib/main.js
the end of this line, after the arrow, is the location of your appium installation relative to the executable file. In my example, the full installation is therefore located at /usr/local/lib/node_modules/appium/
Hope it helps!
You can find it here: /Applications/Appium.app. Just change directory to root from your home directory (i.e. cd /), and you'll see the Applications directory.
Terminal type command 'which appium'
It will locate where appium executable is present.
Access the directory and type 'ls -lrt' command
It will display you the linked path of main.js file.
Copy the path in withAppiumJS(new File("<>"))
https://www.blogger.com/blog/post/edit/3033411347863264315/7244750496917206581
I want a file watcher for LiveScript, so I installed it with npm install LiveScript -g and this works like expected. I can now type livescript into cmd and compile files.
But when I try to use livescript as Program in a watcher, WebStorm tells me Cannot run program "livescript"...
The command seems to be globally accessible, but somehow not for WebStorm.
Please provide a full path to livescript.cmd (should be something like 'C:\Users\your.name\AppData\Roaming\npm\livescript.cmd') in a Program field - this should help
I've tried to run Grunt.js before I compile and launch my project without any luck.
I've tried to run it with the "Run External Tool" option in IntelliJ configuration edition menu, it asks you for the path of the program you want to run, I've tried to add the Grunt path in /usr/bin but it tells me that the node environment cannot be found.
This answer helped me more than what you selected as the correct answer. The difference is that this one is for webstorm. Here's what I'd do: I'd install the node.js plugin in intellij, then configure it like this:
Path to Node: C:\Program Files\nodejs\node.exe
Working Directory: directory with your Gruntfile.js in it
Path to Node App JS File: C:\Users\yourusername\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt
Application Parameters: Whatever you want to pass to grunt as parameters
This is on windows 7.
Installed Node.js via Homebrew on OSX, grunt via npm. After fiddling around, it now works with following in IntelliJ Ultimate 12:
Edit Configurations -> Add new configuration -> Node.js
In the Run/Debug Configurations window:
Path to Node: /usr/local/bin/node
Node Parameters: empty
Working Directory: _directory_of_gruntfile_
Path to Node App JS File: /usr/local/bin/grunt
Configuration that works for me (I'm on Windows 7):
Program: C:\Program Files\nodejs\node.exe
Parameters: ~\AppData\Roaming\npm\node_modules\grunt-cli\bin\grunt
Working directory:$ProjectFileDir$
On Mac GUI applications get their environment variables from /etc/launchd.conf. Because of this the "terminal" in IntelliJ doesn't know about Node or Grunt because it doesn't know where to look for them. If you add your PATH environment variable to /etc/launchd.conf and restart your computer IntelliJ will be able to run Grunt as part of the server deployment.
The easiest way to get this in there is to do:
echo $PATH | pbcopy
and then in /etc/launchd.conf put in:
setenv PATH pasteResultsFromTheClipboardHere
Note: you have to edit launchd.conf as sudo or it won't let you write the file. Your path variable should contain the locations where node and grunt are installed.