ES6 Module Error

Hello Friends, I got this Error while working on ES6 Module in JavaScript Part-2. Please give me solutions. Thanks.

**Error : **
"Access to script at ‘file:///C:/Users/LENOVO/Desktop/CodeWithMosh/JavaScript%20Part-2/Modules/index.js’ from origin ‘null’ has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, chrome-untrusted, https."

Did you do a Google search?

Solution 2?

Yes, I did but didn’t get the Proper Solution.

Do you have same problem it other browsers like Firefox of Edge?