Why is npm asking for a password? [closed] - linux

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm running a CentOS6.4 virtual box on windows 8 (using vagrant), and I'm trying to install my project's dependencies which include proto. I'm running npm install proto and it prompts me for a password. WTH? Why would npm prompt me for a password?
https://github.com/isaacs/npm/issues/3956

As far as I can tell, npm doesn't like the following format on CentOS (and possibly other flavors of linux)
git+https://git#github.com/project/blah.git#commit-ish
Using the git username seems to work fine on windows, but I guess it throws linux for a loop. I ended up switching to using the following format:
https://github.com/project/blah/archive/commit-ish.tar.gz

You got a repos by HTTPS cloning with OAuth tokens. Password is the token and it isn't cached.
You can setup SSH agent forwarding, so it does not prompt you password.

Related

Doas keeps asking me for password [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I installed Doas as a replacement for sudo on my Gentoo machine. I followed the documentation here and my /etc/doas.conf looks like this:
permit persist :wheel
I have also restarted the system. However, it still asks me for the password every time I use doas. What am I doing wrong?
You have to enable persist while you are compiling. Set persist use flag and it will work. If you have (persist) while you are compiling, you have to unmask the app-admin/doas first.
Make below changes in the doas configuration.
permit nopass ::wheel
or
allow user and dont require a password to execute commands as root
permit nopass keepenv :username2
Reference URL
https://forums.freebsd.org/threads/doas-tips-sudo-alternative.69409/
This works for me:
permit persist username as root

Erroneous Gitkraken installation by means of Yaourt Manajro [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
My operating system is Manjaro Linux with gnome Desktop.
I installed gitkraken with yaourt, whereas I was asked to install libcurl-openssh for gitkraken.
Nevertheless, I have gitkraken installed now!
But when I go to the file/folder browser dialog in gitkraken, I see a broken fonts in the dialog as you can see on the following screenshot
How can I fix the wrong fonts?
It's a known problem, see:
https://aur.archlinux.org/packages/gitkraken/?comments=all
https://github.com/Azd325/gitkraken/issues/45
It's because gitkraken uses an old electron version

Not able to connect openvpn ubuntu 16.04 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I am trying to connect to openvpn with google authenticator enabled but it is showing the issue
AUTH_FAILED,Google Authenticator Code must be a number
However I am able to connect it via web.
Please help me and thanks in advance
This looks like an encoding issue. I was facing this after a dist upgrade to Ubuntu Xenial and solved this by simply changing the verbosity level.
Find your configuration file (Usually *.ovpn), find the line which says verb 3 and change it to verb 4. That makes it work.
If you can't find your ovpn file, try running a grep -nar "verb 3" on the root directory. That should help you find the file.
For example: sudo openvpn --config client.ovpn --script-security 2
As in my case configuration file is client.ovpn
I was able to resolve this issue after installing openvpn from source
https://ramzavil.wordpress.com/2016/07/25/how-to-fix-openvpn-not-working-in-ubuntu-16-04/ tutorial over here

Error while logging as root in ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
When I try to change user to root, I get below error
➜ ~ su
Password:
Cannot execute /usr/local/bin/fish: No such file or directory
Any idea how do I get rid of this? I do not have fish installed now. I had installed it earlier.
I did the following and it worked for me.
Did "sudo bash" and got logged in as root. Was not able to login as root using normal "su" as it was throwing the error related to fish.
Deleted all traces of fish and zsh
logged out and logged in with my normal user name. Now , the default shell bash is working fine.

How to install node js without nodejs msi [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I don't have admin permission to install the msi file in my window 7 machine.
How can i install and setup node.js on my windows machine without the msi? Is there any other way to setup this.
The download page provides a Windows Binary (EXE) version of Node.js. You can download that here.
If you don't have admin permission it's impossible, as far as I know, to install something like NodeJS.
Maybe you do have permission to install Virtualbox which is quicker to setup anyhow. Then it's just a matter of installing an Ubuntu or CentOS image.

Resources