can't brew install node

后端 未结 12 1058
无人及你
无人及你 2020-12-13 06:35

I am trying to upgrade my node via homebrew but ran into a problem because I think I tried to download through the website. I am very new to terminal. I\'ve tried to search

12条回答
  •  庸人自扰
    2020-12-13 06:57

    If you try to brew link node and it says something along the lines:

    Error: Could not symlink include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslconf.h Target /usr/local/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslconf.h already exists. You may want to remove it:

    Try this:

    brew link --overwrite --dry-run node | xargs rm
    brew link node 
    

提交回复
热议问题