install kedro and create spaceflights as per tutor...
# questions
y
install kedro and create spaceflights as per tutorial. Kedro runs succesfully. kedro viz opens the browser but all blank, no error shows as well
d
if you open developer tools on the browser - is there an error?
y
127.0.0.1/:1 Refused to execute script from 'http://127.0.0.1:4141/static/js/2.b8903fe8.chunk.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. 127.0.0.1/:1 Refused to execute script from 'http://127.0.0.1:4141/static/js/main.17ed2623.chunk.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
d
That’s a new one!
@Tynan think I need to escalate this one
t
interesting. i haven't seen this before. i also just tested kedro-viz with the same package versions and everything ran perfectly fine for me
@Yong Yang what browser and browser version are you using? do you have any extensions installed and enabled that are blocking the execution of javascript? and what operating system are you using?
y
I have tested using chrome and IE. try normal mode and incognito window both. No particular extension I can see that blocking. My OS is windows 10 Pro
t
noted. maybe it's a windows issue. is it possible for you to create a repo of your project so i can try and reproduce this issue on my end?
y
I just use kedro kedro new --starter=spaceflights https://docs.kedro.org/en/stable/visualisation/kedro-viz_visualisation.html. "Kedro run" also works. I guess it might to be settings in windows, but it seems I already enable javascript for the browser, is there any other things I need to check?
Futher information, in the developer tool console: saying refused to execute script, I can click the link and link open the script correctly, not sure why the browser refuse to execute it. Any workaround ?
I have uploaded all the spaceflights code to https://github.com/gauss515/myproject.git Let me know if you can replicate the error
t
thank you
y
any update on viz is blank
Refused to execute script from 'http://127.0.0.1:4141/static/js/2.b8903fe8.chunk.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. 127.0.0.1/:1 Refused to execute script from 'http://127.0.0.1:4141/static/js/main.17ed2623.chunk.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled. 4141/favicon.ico1 Failed to load resource: the server responded with a status of 404 (Not Found)
I keep getting the above error message using chrome
Looking for your valuable suggestions to debug this error. Much appreciated
d
It’s a public holiday in the UK atm you may not get an answer until Tuesday unfortunately