grpcui: command not found - grpc

I am new to grpcui. I've been trying to follow the installation. I did
go get github.com/fullstorydev/grpcui/...
go install github.com/fullstorydev/grpcui/cmd/grpcui
I also added grpcui path to my $PATH. Even tried to pull down the repo and make install. But I keep getting grpcui: command not found. Anyone could help ?

After installation, your grpcui should be in /home/user/go/bin. If so, try and add that folder to your $PATH, as I did (and it worked).

To further Adam's answer, a critical step in updating the PATH is restarting the terminal.
On OSX this needs to be done via exec bash -l. Simply exiting and opening the terminal does not work.
path gist
terminal SO question

Related

Zsh (Wsl) can not response when cd command into the specified directory

I have the problem about zsh (wsl) in windows 11, when I cd into the specified directory, only that folder, my zsh doesn't response, and I have to ctrl+c every time I want to type the next command. I don't know what this problem is, and how to fix this. My PowerShell still works normally, only zsh encounters this error. Anyone can help me pls?
I try waiting some minutes and this evently responses, this folder is my repo git in windows, i use zsh to cd into this, and it takes me quite lots of time to enter this folder. How to fix this problem?
I found out in many webs to look for any solution to fix or improve this problem, and i evently also found 2 ways for this.
First, change the line "disable_untracked_files_dirty" into true in your .zshrc file.
Second, if you're using powerlevel10k, add this line "typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet" into the .p10k.zsh file if you're using this file to config your powerlevel10k, or add this line "POWERLEVEL9K_INSTANT_PROMPT=quiet" into your .zshrc file if you're using .zshrc to config your powerlevel10k.
Hope to help

Error: EACCES: permission denied, unlink '/usr/local/bin/npm

First and foremost I have looked into these previous post for answers: EACCES: permission denied, unlink
Error: EACCES: permission denied, unlink '/usr/local/bin/npx'
Error while building or running ngx-bootstrap tests
I do not see the answers I seek in any of these posts, or maybe I am not knowledgable enough to decipher how to use those answers to fix my issue. I am still learning so please, if you are answering my post make sure you explain, so that I may fully grasp what is being done and why. I would appreciate it very much.
In VS Code I was trying to work on a project but needed to update the npm version. See example:
After researching the f***(pardon my language) out of this, I did the following:
after reading this article: https://flaviocopes.com/npm-fix-missing-write-access-error/
I did what he suggested and then tried to do the npm update.
I then did the following, to find who owns the directory
After this I am pretty much at lost of what to do next, why do I have three 'drwxr-xr-x'? what does that exactly mean, that I have three npm packages? can I combine them all into one? or would it be better to delete all and start from scratch, but would I run into the same issue?
I also read this:
To minimize the chance of permissions errors, you can configure npm to
use a different directory. In this example, you will create and use a
hidden directory in your home directory.
Back up your computer. On the command line, in your home directory,
create a directory for global installations: mkdir ~/.npm-global
Configure npm to use the new directory path: npm config set prefix
'~/.npm-global' In your preferred text editor, open or create a
~/.profile file and add this line: export PATH=~/.npm-global/bin:$PATH
On the command line, update your system variables: source ~/.profile
To test your new configuration, install a package globally without
using sudo
but will that work if I have to [unlink '/usr/local/bin/npm'], according to the terminal. In all honestly, I prefer not reconfigure as I would need to back up everything, does anyone have a solution or suggestion as to what to do?
Thank you all in advance. And again I would like to reiterate that I am still learning, so please be kind and elaborate on your answer.
See if you have another path setup
like **
/usr/local/share/npm/bin
**
or so and just run install like this below.
**
sudo npm install npm#latest -g
**

Unable to run any Meteor Js command

What's the cause of this problem and how do I fix it?
Machine:~ username$ meteor create project
'/Users/username/.meteor' exists, but '/Users/username/.meteor/meteor' is not executable.
Remove it and try again.
Machine:~ username$
I’m unable to tell what the problem is, but you can likely fix it by moving the file and installing meteor again. To move the file:
$ mv ~/.meteor/meteor ~/meteor.bak
Then try to reinstall meteor.
[EDIT]
You can additionally try to chmod +x ~/.meteor/meteor but the meteor instructions recommend removing the file so I recommend you move it and rename just as a back up until you reinstall.

meteor-jsdoc is not recognized as an internal or external command, operable program or batch file

I am trying to set up meteor-jsdoc on an existing meteor project according to the steps here:
https://www.npmjs.com/package/meteor-jsdoc
I am using windows and I run >npm install -g meteor-jsdoc , it is successfully
However when I try to run > meteor-jsdoc, it gives the error as in title.
I tried running the npm install both inside and outside the folder.
Anyone had the experience before? I am really stuck here.
Thanks!
Found the solution, re-installed git bash with unix tools option selected.

Meteor stuck at Extracting meteor-tool#1.4.0-1

I am having an issue where I do meteor run in my project, and it begins to install meteor-tool#1.4.0-1, once it is 100%, it says
Extracting meteor-tool#1.4.0-1...
but it never finishes. I uninstalled meteor and reinstalled it but I am having the same issue.
United State.
Windows 10.
This is a problem caused by the tar extractor provided by Git.
Find where is located the tar tool used by your system, running:
$ where tar
In my case, it is located in C:\Program Files\Git\usr\bin\tar.exe
Then locate the file and rename it to tar.exe.old
Its done... try running Meteor again! >> $ meteor
Thank you for your response, Vasil. I actually was able to find a solution and I am no longer experiencing this problem.
Turned out there was a problem with the tar.exe file in Git, and by uninstalling Git, and reinstalling it the latest version, 2.10.0.windows.1, the problem has seemed to go away.
It seemed that no matter how long I left it, it stayed stuck at "Extracting meteor-tools . . ." but now that I updated Git the problem has gone away.
Try adding the following to your local hosts file (C:\Windows\System32\Drivers\etc\hosts):
54.192.225.217 warehouse.meteor.com
Then run a meteor reset in your app directory (warning - will wipe your local DB), then try starting your app again.
This works for me.
Link: https://forums.meteor.com/t/downloading-meteor-tool-1-4-0-1/27269/19?u=lucianopestana

Resources