6
Arkx
3y

-> Want to install npm
-> Brew install npm failed
-> Think that yarn is an alternative
-> Want to install yarn
-> "npm install yarn"

Reject Front-End, Return Back-End.

Comments
  • 3
    Abolish humanity, embrace MONKE. Banana is truth. 🍌
  • 3
    Fuck everything, return to punchcards
  • 0
    Step 1 is to do drugs
  • 1
    But installing node dmg file should get npm installed too why using brew?
  • 0
    In my opinion using brew is a mistake. It‘s like a snap from ubuntu. If possible try another solution

    Not sure but in the past there was a posibility to install yarn without npm
  • 0
    The trick is to install nvm. Nvm will manage whatever versions of node you need. Brew install nvm.
  • 0
    @gitpush You have different configurations depending on how you install node.

    If you use brew install node it gets installed in the user space and you can brew uninstall node.

    If you install with the dmg installer it is installed for all users. Where did it go?

    If you install with nvm that neatly manages node versions in the ~/.nvm folder so you can switch between node versions easily.

    So how deep do you want node in your system? The installer is the deepest and most mysterious.
  • 1
    @gitpush because I forgot that you could install something other that through the term...

    Thanks for the help everyone - I've managed to get npm through the dmg install!
  • 0
    @Arkx happy we could help 🙏
Add Comment