admin管理员组

文章数量:1386401

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?

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?

Share Improve this question asked Mar 17 at 13:50 JayeshJayesh 132 bronze badges 1
  • No one here can guess what "not working properly" is actually supposed to mean. Please go read How to Ask, and then edit your question. – C3roe Commented Mar 17 at 13:55
Add a comment  | 

2 Answers 2

Reset to default 1

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

try these things:

  1. disable your antivirus software
  2. run cmd with admin privilege
  3. try to use pnpm to avoid conflict

本文标签: htmlnpm install not working with Astero Admin on MacStack Overflow