Next.js 13, daisyUI

Trouble shooting

husky

pnpm: command not found

Follow one of belows

  1. install pnpm globally
npm install -g pnpm
  1. remove node_modules reference
rm -rf node_modules
pnpm i
  1. remove hooks reference
rm -rf .git/hooks
npm install
  1. config .huskyrc
touch ~/.huskyrc
open ~/.huskyrc

and copy this to opened file

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"