I have started using github-cli on two machines (laptop and desktop).
i logged in useing gh and it works.
if u use
gh clone https://github.com/ repo-link /code.git
i get this error:
unknown command "clone" for "gh"
i installed it like so:
https://www.techiediaries.com/install-github-cli-ubuntu-20/
i searched the web and read here that not helped me:
github-cli unknown command "run" for "gh workflow"
Related
Here is the bug in gitbash,thanks for your reply.
$ gh auth login
? What account do you want to log into? [Use arrows to move, type to filter]
> GitHub.com
GitHub Enterprise Server
could not prompt: Incorrect function.
You appear to be running in MinTTY without pseudo terminal support.
To learn about workarounds for this error, run: gh help mintty
YES! I solve the bug accidentally. Sometimes we don't need to figure out what the bug tips want us to do like this bug tips.
Firstly,you should find where your github cli install.
Then,open the terminal in this directory.You can download github cli in here.
Finally,you can find you can get want you want when you input gh auth login
I'm attempting to remote debug a linux module running on docker. Following this article works for a simple test project.
https://devblogs.microsoft.com/iotdev/debug-azure-iot-edge-c-remote-linux-module-container-with-visual-studio-2019-version-16-3/
When I attempt to attach to the module that is setup via SSH with root login permissions enabled, I get this output from Visual Studio:
VSDBG is not installed on my linux target so whats failing is the download/setup of VSDBG. I found a related article on installing VSDBG manually that references the //.vs-debugger path but I'm not sure if this is what is needed
https://www.plcnext-community.net/en/hn-makers-blog/464-remote-debugging-of-a-net-core-application-with-vs-code-on-plcnext.html
I noticed when I select the module to debug that the User Name show "nobody" instead of what I think is normal/expected which is "moduleUser". Is this related to the issue?
So I'm looking for help understanding why the download and install of VSDBG is failing. The SSH credentials are using root so I don't think permissions should be a problem. On the other hand, the failure is simple and possibly permission related:
Command 'mkdir -p '//.vs-debugger'' failed with code '1'. "
If there is a manual set of steps I can follow to install VSDBG so my visual studio attach-to-debug works, as shown above, that would be very helpful.
I am no longer able to run node from the git bash terminal. It works from Git CMD and the standard windows CLI. If I try to run a file (e.g. node index.js) or even just start node via node, I go back to the input prompt except now I can't see any of my character inputs.
This is not a result of PATH not being set, as where node gives me C:\Program Files\nodejs\node.exe and which node gives me /c/Program Files/nodejs/node and echo $PATH does have /c/Program Files/nodejs included.
If I type another command (such as ls), it actually will work even though I will continue to not be able to see my input.
I think this problem arose after the latest Windows 10 OS update was pushed to my system (10.0.17763). I've tried reinstalling Git for Windows and Node, and neither have resolved the issue. I can't find any other settings that might be affecting this.
Using Git CMD or Windows CLI is a workaround, but neither of those have a "Git Bash Here" option, which is the #1 thing I want this for. It is also nice that I get the visual indication of branch in Git Bash where I do not get that with Git CMD or the Windows CLI.
I don't need or want to use Git GUI, and besides that won't allow me to run local node files which I need to do for testing.
Does anyone have any ideas on how I can get Git Bash working with node again?
UPDATE: By running stty -a after node fails, I see that echo has flipped to -echo, which is why I can't see the input anymore. But that doesn't explain why node isn't loading and echo is getting turned off. Hoping that gives someone some additional context to figure out what's going on here. brkint, icrnl, ixon, opost, isig, and icanon are also getting flipped to the - versions after attempting to run node.
There are 2 possible workarounds (based on what your problem is) that I have tried-
Enter node first of all:
1) Try typing in reset and hit enter. You may not be able to see the input logging in, in the bash terminal window, but it works after that.
2) Or try typing any random alphabet and hit enter(again you won't see it on the screen),it will throw a 'command not found' error but you will have node working after this.
I am afraid these aren't exactly proper fixes, but they get the job done.
More information can be found here: https://askubuntu.com/questions/171449/shell-does-not-show-typed-in-commands-reset-works-but-what-happened/172747#172747
I’m having a heck of a time trying to install composer (to install Laravel) on my server. I’m accessing my web server via the built-in terminal in Coda 2. These are the commands I’ve been trying to run:
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
The curl command executes fine, but when I try the move. I get the following error:
mv: inter-device move failed: `composer.phar' to `/usr/local/bin/composer'; unable to remove target: Read-only file system
I tried to run the move with sudo per the Composer website, but that results in these errors:
sudo: unable to stat /etc/sudoers: No such file or directory
sudo: no valid sudoers sources found, quitting
I’ve been trying to google search some to figure it out, but I haven’t had much success. I'm not too savvy with server issues like this, so that has made it hard for to figure out what is going on.
Thanks in advance.
I am new in Nodejs. I want to install nvmw in my system. For that first I clone the respiratory using this command
git clone git://github.com/hakobera/nvmw.git "%HOMEDRIVE%%HOMEPATH%\.nvmw"
after that for activating nvmw, I used this command
set "PATH=%HOMEDRIVE%%HOMEPATH%\.nvmw;%PATH%"
in E drive.Folder is also created in E drive in name of %HOMEDRIVE%%HOMEPATH% and inside the folder all the datas and nvmw folder also created.
But after that when I am running this command nvmw help, it shows "nvmw command not found". I tried by changing the folder name also but it shows the same error. I think I am doing some mistake in setting the path.
In my case, that command is not working on Windows PowerShell.
The command for setting System Path should be run Windows Command Prompt.
In the other hands, you can add installed path with GUI.
For Windows PowerShell, see following question:
Setting Windows PowerShell path variable