staticwebdev / nextjs-starter

A Next.js starter application for deploying to Azure Static Web Apps
https://docs.microsoft.com/azure/static-web-apps/deploy-nextjs
31 stars 28 forks source link

Error: Invalid hook call #36

Open roncourville opened 2 years ago

roncourville commented 2 years ago

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.

image