Hi I'm sure this is a stupid question but I am running eclipse in linux mint 15 and whenever I try to press the main run option in the upper tab of the eclipse menu (next to the build option) I get a message saying systemtap is not installed, and then the run button grays out and I cant use it unless I restart eclipse and run into the same problem. I know this is an issue with the run configuration but when I attempt to alter it in the run configurations menu all that ends up happening is a run button being created in the favorites tab for the particular project I have selected. What I am trying to do is have the main run button launch whichever project I have selected through the default option instead of attempting to automatically use systemtap. Thanks
You simply need to install the systemtap packages. From a terminal...
sudo apt-get install systemtap
Related
I need to add WSL node interpreter to WebStorm (2020.1) but Linux distribution is not detected by WebStorm, even though I have Alpine WSL install through Windows Store.
I read this question, but no help. Also manually adding entry in wsl.distributions.xml didn't work, did a lot of research but nothing worked.
I was able to use WSL as terminal in WebStorm by adding wsl.exe location to shell path. My objective is to run npm scripts form from Run/Debug configuration.
I solved by reinstalling WebStorm and copying options folder
from C:\Users\me\AppData\Roaming\JetBrains\WebStorm2020.1
to C:\Users\me\AppData\Local\JetBrains\WebStorm2020.1, then WebStorm could detect Linux distribution installed on machine.
But, now when I am trying to run scripts from NPM Tool Window of WebStorm, WebStorm runs C:\Windows\System32\wsl.exe run "/usr/local/bin/node /usr/local/lib/node_modules/npm/bin/npm-cli.js run start --scripts-prepend-node-path=auto" where run is redundant coming after C:\Windows\System32\wsl.exe ...
How can I set WebStorm to not have run in wsl.exe run ...?
In WebStorm 2018.3.5 when I press Up key it suggests me the last command I ran on this exact tab.
On WebStorm 2019.3.1 when I run a command on other tab or run something from system terminal and open a new tab and press Up it suggests me the last actual command ran on the system not in current tab.
Is there any way to configure it to have its own commands history in the latest WebStorm version?
OS I am currently running is Linux Mint 18 and using zsh as a shell.
Thanks.
This is the first app that I'm trying to deploy.
I need the installer to establish a symlink with one of the installed files as well as adding the user to a different group. I'm currently using component.addElevatedOperation("CreateLink", <linkPath>, <targetPath>) and component.addElevatedOperation("Execute", "usermod -a -G dialout id")
to accomplish this.
The installer builds successfully with the IFW's binarycreator.
The problem occurs when running the installer. If I try to install the component containing these operation, the installer freezes. It freezes right after I've entered the sudo password. How do I get the installer to successfully run these commands?
I know there are Run/Debug configurations in WebStorm, but I don't know how to configure the context menu (when I right click in a file, it has Run... and Debug... in the menu, but I can't find where to configure this).
Run configurations are created via Run | Edit Configurations... : press +, choose Node.js, in created configuration specify babel-node as Node Interpreter:
But note that debugging doesn't work well when using it. I'd strongly recommend using -r #babel/register Node.js parameter instead - see comments in https://youtrack.jetbrains.com/issue/WEB-21949
I would like to add a configuration inside IntelliJ so that I can run it from the Run context menu (there is included Node.JS launcher but I couldn't find a "Command Line configuration launcher")
Also, is it possible to run the command line terminal as Administrator if ran from Windows ?
The command I would like to run is ember serve
Thanks for the help.
These are the steps:
Go to Run/Edit Configurations...
Add a new one for "Javascript Debug"
Fill Name with the name you want for the configuration, fill the URL with http://localhost:4200 and pick the browser you prefer
Then, in the second white box, add an external tool by clicking in the green plus button and selecting the option Run External tool
Add a new one clicking on the green plus button and fill the following fields: in Name the name you want for the external tool, in Program write ember (it's the command you are going to run), in Parameters write server or s as the options for the command and in Working directory write $ProjectFileDir$ if it's not written already to run it in the folder in which you are working with.
With all this, you should only need to press the play button and it should run and open the browser automatically with a tab directing to localhost:4200, where your ember server is running.
EDIT: I'm not using it on windows so I'm not sure if it will run the command as administrator. Probably running Intellij using "Run as Administrator" will do the job.