Appium does not start with non sudo installation - npm

Platform: Ubuntu 14.10
Appium - 1.3.7
One similar question I had come across -
How to setup Appium in Ubuntu for android
and following suggestion, I install npm via HomeBrew
And eventually, appium execution fails with error -
error: Appium will not work if used or installed with sudo. Please rerun/install as a non-root user. If you had to install Appium using `sudo npm install -g appium`, the solution is to reinstall Node using a method (Homebrew, for example) that doesn't require sudo to install global npm packages.
Is there anything I missed?

Appium allows to run under sudo since 1.2.3: source

apparently I was on wrong directory when invoking invoking appium. I should be in /node-v0.12.2-linux-x64/bin$ and invoke appium.
even though I was in wrong directory, the error message I received was so descriptive (and misleading) that it made me believe that I installed appium in wrong way.

Related

Chocolatey says "Software installed to 'C:\Program Files\Chromium\Application" but nothing is there

I'm trying to install Chromium with Chocolatey: choco install -y chromium
I get the following output:
Installing the following packages:
chromium
By installing, you accept licenses for the packages.
Progress: Downloading chromium 104.0.5112.102... 100%
chromium v104.0.5112.102 [Approved]
chromium package files install completed. Performing other installation steps.
Chromium 104.0.5112.102 is already installed.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of chromium was successful.
Software installed to 'C:\Program Files\Chromium\Application'
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
However, no folder is created for the Chromium application in C:\Program Files. I am getting a new installation of the NuGet for Chromium in C:\ProgramData\chocolatey\lib\chromium.
I'm doing this as part of an attempt to automate a Chromium installation, so I've been messing around with lots of different chromium versions and force installs. The line Chromium 104.0.5112.102 is already installed. looks pretty suspect, as does the note in the Chocolatey chromium page that says that sometimes the package will be installed on %localappdata%\Chromium instead, but I can't find chromium installed in C:\Users\jkatofsky\AppData\Local either.
I feel like the issue is just within reach, but I can't figure it out. Any ideas?
The package is already installed (note I said package) so it won't be installed again. I think messing around with versions has caused that issue.
Uninstall the package and install it again.
Doing choco uninstall -n --skipautouninstaller chromium and going to Control Panel -> Programs -> Uninstall a program then uninstalling Chromium, and getting rid of it from the registry when prompted, fixed things for me. The next choco install chromium worked as expected.

could not execute command lessc in odoo 10 Windows

I want to ask about odoo 10 installation on windows.
I have error like this "could not execute command 'lessc' "
I have seen in another post about this problem, but their post just discussing about mac and ubuntu server not in windows.
Anyone can help me about this for windows? Thank you
You need NodeJS:
Less CSS via nodejs
on Windows, install nodejs, reboot (to update the PATH) and install less:
C:\> npm install -g less
From odoo website: https://www.odoo.com/documentation/10.0/setup/install.html

What is phantomjs --wd command alternative for slimerjs?

I was using Phantomjs with Phoenix framework for test, and the package I use in phoenix is hound.
I previously installed phantomjs with apt-get which was giving problems (this github comment said the installation method was the culprit), so I downloaded the latest binary from the official website but that was giving permissions denied error, so I had to build it from the source, but to my surprise the build.py which is mentioned in the official guide wasn't avaialble, so I even failed to build it that way.
I also failed to install through npm, so I gave up on phantomjs.
Now I installed slimerjs, but I don't know what is slimerjs's alternative command to phantomjs --wd.

I am failing to install Selenium module via command line

I use Ubuntu 16.10. I tried installing Selenium module of python via the command - sudo pip3 install -U selenium. But, I am not able to install it. It is giving an unexpected error. I am sharing the screenshot of the terminal here. Please help!
Please click here for the screenshot
If you are using Ubuntu, I'd suggest checking in the package manager as it may already be there. I'm on Mint and it was already there when I loaded python (2.7 also).

How do I uninstall NodeSource NSolid from my computer?

I installed NodeSource's NSolid on my computer and it took over my node binary. How do I uninstall it?
NSolid provide an uninstall script. On a Mac, simply run:
sudo /usr/local/nsolid/uninstall
N|Solid replace node binary to ensure that all your apps are getting the additional features of N|Solid. The best way to return to Node.js again is reinstalling it.
N|Solid is shipped with a specific npm version that guarantee total harmony on the ecosystem. Reinstalling Node.js also replace the npm version avoiding issues about version miss matching.
Also you should remove manually the nsolid binary. You can get the installed path running which nsolid