brew Error: No available formula with the name "node@11"

16,502

I'm not sure what caused my error, but a way around this was to install v11 with NVM, following the guide below:-

https://www.npmjs.com/package/nvm

To install NVM, and then node version 11, just do the following:

$ brew install nvm
$ nvm install 11
Share:
16,502
s89_
Author by

s89_

Updated on July 25, 2022

Comments

  • s89_
    s89_ almost 2 years

    I'm getting some errors with node v12.6 so I'm trying to downgrade to node@11.

    Doing a brew install node@11 gives me the title error, and I've not found many results in Google for how to proceed.

    Full error:-

    ==> Auto-updated Homebrew!
    Updated 1 tap (homebrew/core).
    ==> New Formulae
    wtfutil
    ==> Updated Formulae
    glooctl           juju              k6                moarvm            moe               nqp               pulumi            rakudo            terraform         topgrade          xrootd
    
    Error: No available formula with the name "node@11" 
    ==> Searching for a previously deleted formula (in the last month)...
    Warning: homebrew/core is shallow clone. To get complete history run:
      git -C "$(brew --repo homebrew/core)" fetch --unshallow
    
    Error: No previously deleted formula found.
    ==> Searching for similarly named formulae...
    Error: No similarly named formulae found.
    ==> Searching taps...
    ==> Searching taps on GitHub...
    Error: No formulae found in taps.
    

    brew search node gives me the following, so it doesn't appear I have 11 installed already.

    leafnode          libbitcoin-node   llnode            node ✔            node-build        node@10           node@8            node_exporter     nodebrew          nodeenv           nodenv