Boilerplate for auth cases.
Copy
.env.templateas.envfile. And fill it in case you use relevant services
pnpm install
pnpm devremove node_modules/.cache/gh-pages
"/dev/tty: No such a device or address" If, when deploying, you get /dev/tty: No such a device or address or a similar error, try the following:
- Create a new Personal Access Token
git remote set-url origin https://<user>:<token>@github.com/<user>/<repo> .- Try
npm run deployagain
"Cannot read property 'email' of null" If, when deploying, you get Cannot read property 'email' of null, try the following:
git config --global user.name '<your_name>'git config --global user.email '<your_email>'- Try
npm run deployagain