When I tried to invoke npm run dev, I got this error:
anneblazejack@MacBook-Air cypress-realworld-testing-course-app % npm run dev
> dev
> next dev
ready - started server on 0.0.0.0:3000, url: http://localhost:3000
warn - SWC minify release candidate enabled. https://nextjs.org/docs/messages/swc-minify-enabled
info - Attempted to load @next/swc-darwin-arm64, but it was not installed
error - Failed to load SWC binary for darwin/arm64, see more info here: https://nextjs.org/docs/messages/failed-loading-swc
To fix this, I had to delete the package-lock.json and re-install.
When I tried to invoke npm run dev, I got this error:
To fix this, I had to delete the package-lock.json and re-install.