Reputation: 113
I'm trying to deploy my NextJS app to Github pages. I already installed npm gh-pages and was getting errors when I always run npm run deploy
.
Any thoughts why this is happening?
Here's the error when I run the command:
While here's my debug log file:
Any help is much appreciated.
Upvotes: 2
Views: 223
Reputation: 113
Fixed this. I just switch my npm version to 12.15.0 using nvm. I run nvm use 12.15.0.
Upvotes: 1