cypress-io / cypress-realworld-testing-course-app

Home Page:https://cypress-realworld-testing-course-app.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm run dev fails on M1 mac

annieblazejack opened this issue · comments

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.

This should be resolved now, thanks for the issue.