osx problemas de permissão do homebrew

0

Estou tendo muitos problemas de permissão na minha máquina OSX 10.13.4. Homebrew parece ser incapaz de concluir corretamente a instalação do pacote corretamente.

Aqui está o exemplo a seguir para npm , mas tenho o mesmo problema com node . ambos parecem estar instalados, mas não ligados ao meu ambiente, se eu entendi bem. Eu tentei tudo o que pude encontrar, mas estou ficando sem idéias. Eu também tentei desinstalar / reinstalar o Homebrew

brew install npm recebo um erro de link simbólico:

Error: The 'brew link' step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/node/android-ifaddrs.h
/usr/local/include/node is not writable.
npm -v gives env: node: No such file or directory

brew link node e brew postinstall node apresentam o mesmo erro

brew doctor me fornece outro monte de avisos:

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

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

Warning: Broken symlinks were found. Remove them with 'brew prune':

brew prune dá erro: Permission denied @ unlink_internal - /usr/local/lib/node_modules/npm/node_modules/.bin/JSONStream

    
por jotyhista 19.04.2018 / 23:09

0 respostas