Not allowed to load local resource

I’am learning about textures in Threejs. And i can’t load texture from my computer on the cube. For my local server i’am using Parcel.js

Do you know what am i doing wrong?

Thanks for help…

This is a security policy of the browser which disallows to (asynchronously) loading files with the file protocol. The red entry in your browser console shows that you are exactly trying to do this. Ensure to load your application always via HTTP(S).