mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 01:37:14 +01:00
script to fix failing 'npm update' with brew installed node
This commit is contained in:
parent
475763b5d3
commit
1a2e11664c
10
brew
10
brew
@ -14,4 +14,12 @@ brew install gpg2
|
|||||||
brew install mysql
|
brew install mysql
|
||||||
brew install imagemagick
|
brew install imagemagick
|
||||||
brew install GraphicsMagick
|
brew install GraphicsMagick
|
||||||
brew install android
|
brew install android
|
||||||
|
|
||||||
|
# fix for failing 'npm update' with brew installed node
|
||||||
|
# reference: https://github.com/Homebrew/homebrew/issues/22408#issuecomment-30812725
|
||||||
|
for man in 1 3 5 7; do
|
||||||
|
ln -sf /usr/local/lib/node_modules/npm/man/man${man}/* /usr/local/share/man/man${man}
|
||||||
|
done
|
||||||
|
|
||||||
|
ln -sf /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm
|
Loading…
Reference in New Issue
Block a user