Home > database >  How to run npm install on Mac [closed]
How to run npm install on Mac [closed]

Time:09-22

I have recently switched to a Mac from windows. I installed node and npm. after cloning my repo with almost code in mean. How should I install node modules I mean npm install npm start nothing really works. so are there different commands for Mac can someone really help me out with documentation or video that may help me migrating.

CodePudding user response:

Please check whether node and npm installed correctly on your mac.

To check node:-

node -v

To check npm:-

npm -v

If not, please install it again it should work

CodePudding user response:

Make sure you have them installed and you have configured paths in your command line. An easy way to install with command line compatibility is to use Homebrew. If you install homebrew, you can run brew install node; brew install npm

  • Related