Rezmason / matrix

matrix (web-based green code rain, made with love)
https://rezmason.github.io/matrix
MIT License
3.29k stars 212 forks source link

CRBug/1173575 #10

Closed BinaryVixen899 closed 2 years ago

BinaryVixen899 commented 2 years ago

Getting this in both Chrome 96 and some other version of Firefox. WebGL itself works fine but whenever I try to run this whether it's in Chrome or VSCode Run and Debug (also w/ Chrome) I get an error of "CRBug/1173575 non-JS module filed deprecated". This sounds pretty self explanatory except that I cannot find any import that's trying to import a non JS file.

Rezmason commented 2 years ago

What in blue blazes?!

I'll attempt to repro tonight, and I'll also look around for references to this. It sure does sound specific.

Rezmason commented 2 years ago

Bug repro'd, based on what I'm seeing in VS Code and what I'm reading online, this is a Chromium bug from within VS Code. Online suggested fixes include recreating your VS Code configuration files and restarting your computer.

That advice isn't exactly reassuring.

My personal recommendation is to not rely on VS Code to run the project in a browser in the first place.

On a mac, I can turn any folder into a little server like so:

cd /path/to/the/folder
python -m SimpleHTTPServer

That should host the contents of that folder at http://localhost:8000 in any browser you like.

I wish I could be more help, but I have very little experience with VS Code myself, and Chrome bugs are too far outside my wheelhouse. 😅 Let me know if I can be any more help.

BinaryVixen899 commented 2 years ago

Thanks so much! This is incredibly helpful :) I can't believe I didn't think of something like this ^^; Yeah I wasn't going to use VSCode to run it when I put it on my Pi but got hung up when previewing it. Never occurred to me to just, do what you described.