最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

html - npm install not working with Astero Admin on Mac - Stack Overflow

programmeradmin3浏览0评论

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
发布评论

评论列表(0)

  1. 暂无评论