It seems like you are trying to use the @esbuild/darwin-x64 package, which is designed for the x64 architecture on macOS (Darwin), but your system is running on the Arm64 architecture, which requires the @esbuild/darwin-arm64 package instead.

You will need to install and use the @esbuild/darwin-arm64 package instead of @esbuild/darwin-x64 to ensure compatibility with your system architecture. You can do this by running the following command in your terminal:Copy

npm install @esbuild/darwin-arm64

After installing the correct package, you should be able to use esbuild on your Arm64-based macOS system without any issues.

By lxcss

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注