htmlcssnode.jstemplatesbootstrap-5

npm install not working with Astero Admin on Mac


I recently forked the "Astero Admin" template from GitHub, but I'm having issues with the npm install command. It's not working properly on my Mac. I followed all the steps in the documentation but still facing this issue.

Here's what I've tried:

Forked the repo correctly Ran npm install in the project directory Checked for error messages

Has anyone else encountered this problem with Astero Admin? Any suggestions on how to fix it?


Solution

  • The issue is likely related to your Node.js version. Astero Admin requires Node.js version 18 or higher to work properly.

    You can check your current Node version with:

    node -v
    

    If you're running an older version, you'll need to upgrade. On Mac, you can do this through Homebrew:

    brew update
    brew upgrade node
    

    If you're still having issues, you might need to completely remove your old Node installation first:

    sudo rm -rf /usr/local/lib/node_modules
    

    Then reinstall Node.js:

    brew install node