Description
When attempting to run any test from the project, the error appears Error: The package "esbuild-darwin-64" could not be found, and is needed by esbuild
. I already tried to install it, also tried to reinstall packages etc. Event reset mac completely.
URL of Issue(s)
Steps to replicate
I am not sure what could be the steps to reproduce since it even does work on my colleagues' machines. It was also working on mine (macOs m1) until it stopped at one point.
Browser
Google Chrome
Device
Additional Information
The error in the browser:

Running npm install esbuild-darwin-64
throws an error:
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"x64"} (current: {"os":"darwin","arch":"arm64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: x64
npm ERR! notsup Actual OS: darwin
npm ERR! notsup Actual Arch: arm64