Created
September 21, 2020 05:52
-
-
Save shar-kumar/6977f059860535e15a2c864c83822e72 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
first Installed node 14.11.0 on Mac os. | |
then I tried with brew install, here is the log from terminal: | |
brew install node | |
Warning: node 14.11.0 is already installed, it's just not linked | |
You can use `brew link node` to link this version. | |
xxxxx-iMac:~ xxxxxxx$ brew link node | |
Linking /usr/local/Cellar/node/14.11.0... | |
Error: Could not symlink share/doc/node/gdbinit | |
Target /usr/local/share/doc/node/gdbinit | |
already exists. You may want to remove it: | |
rm '/usr/local/share/doc/node/gdbinit' | |
To force the link and overwrite all conflicting files: | |
brew link --overwrite node | |
To list all files that would be deleted: | |
brew link --overwrite --dry-run node | |
xxxxxxxxx-iMac:~ xxxxxx$ brew link --overwrite node | |
Linking /usr/local/Cellar/node/14.11.0... | |
Error: Could not symlink share/doc/node/gdbinit | |
/usr/local/share/doc/node is not writable. | |
xxxxxxxx-iMac:~ xxxxxxxx$ brew link --overwrite --dry-run node | |
Would remove: | |
/usr/local/share/doc/node/gdbinit | |
/usr/local/share/doc/node/lldb_commands.py | |
/usr/local/share/man/man1/node.1 | |
/usr/local/share/systemtap/tapset/node.stp | |
xxxxxxxxx-iMac:~ xxxxxx$ brew cleanup | |
Pruned 0 symbolic links and 3 directories from /usr/local | |
xxxxxxxx-iMac:~ xxxxxx$ brew prune | |
Error: Unknown command: prune | |
xxxxxxx-iMac:~ xxxxxxxx$ brew install node | |
Warning: node 14.11.0 is already installed, it's just not linked | |
You can use `brew link node` to link this version. | |
xxxxxxx-iMac:~ xxxxxxx$ brew doctor | |
Please note that these warnings are just used to help the Homebrew maintainers | |
with debugging if you file an issue. If everything you use Homebrew for is | |
working fine: please don't worry or file an issue; just ignore this. Thanks! | |
Warning: "config" scripts exist outside your system or Homebrew directories. | |
`./configure` scripts often look for *-config scripts to determine if | |
software packages are installed, and which additional flags to use when | |
compiling and linking. | |
Having additional scripts in your path can confuse software installed via | |
Homebrew if the config script overrides a system or Homebrew-provided | |
script of the same name. We found the following "config" scripts: | |
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3-config | |
/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8-config | |
Warning: You have unlinked kegs in your Cellar. | |
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on | |
those kegs to fail to run properly once built. Run `brew link` on these: | |
node | |
xxxxxx-iMac:~ xxxx$ brew link node | |
Linking /usr/local/Cellar/node/14.11.0... | |
Error: Could not symlink share/doc/node/gdbinit | |
Target /usr/local/share/doc/node/gdbinit | |
already exists. You may want to remove it: | |
rm '/usr/local/share/doc/node/gdbinit' | |
To force the link and overwrite all conflicting files: | |
brew link --overwrite node | |
To list all files that would be deleted: | |
brew link --overwrite --dry-run node | |
xxxxxxx-iMac:~ xxxxxxxx$ rm '/usr/local/share/doc/node/gdbinit' | |
override rw-r--r-- root/wheel for /usr/local/share/doc/node/gdbinit? y | |
rm: /usr/local/share/doc/node/gdbinit: Permission denied | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
please help me to resolve this issue. I have gone thru the other discussions for the same issue. but none of them worked for me.