Boilerplate for auth cases.
Copy
.env.template
as.env
file. And fill it in case you use relevant services
pnpm install
pnpm dev
remove 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 deploy
again
"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 deploy
again