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

https://cypress-realworld-testing-course-app.vercel.app/
72 stars 225 forks source link

npm run dev fails on M1 mac #20

Closed annieblazejack closed 1 year ago

annieblazejack commented 1 year ago

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.

elylucas commented 1 year ago

This should be resolved now, thanks for the issue.