HTML 5 Novice to Ninja would not load in chrome

chrome would not load the basic game. getting the following error:

Access to script at ‘file:///C:/Users/amada/Qsync/Node/games/src/main.js’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https.

You need to run it in a server. Laragon is a great WAMP for local dev.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.