nextjs-starter
nextjs-starter copied to clipboard
Error: Invalid hook call
I was getting this error (below) when trying to run "npm run dev". I've tried editing the next.config.js file, as recommended by others elsewhere for this error, but that didn't seem to work.
However, by using an older repo version, "npm run dev" did work for me. In my case, I found success with this older version: https://github.com/staticwebdev/nextjs-starter/tree/07f056ef5d0b73283522cbbf533b403dbb300a4f.