Cross-Origin Resource Sharing (CORS) errors are a common frustration for web developers. These errors happen when a webpage tries to access resources from a different domain, protocol, or port than its origin, and the server doesn't permit it. This can significantly impact local development and testing.
A quick workaround is to launch Chrome with web security disabled.
On macOS, you can use the following command in your terminal:
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security