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
2 Answers
Reset to default 1The 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:
- disable your antivirus software
- run cmd with admin privilege
- try to use pnpm to avoid conflict