https://kedro.org/ logo
#questions
Title
# questions
y

Yong Yang

08/18/2023, 11:04 AM
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

datajoely

08/18/2023, 11:07 AM
if you open developer tools on the browser - is there an error?
y

Yong Yang

08/18/2023, 11:19 AM
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

datajoely

08/18/2023, 11:27 AM
That’s a new one!
@Tynan think I need to escalate this one
t

Tynan

08/18/2023, 11:29 AM
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

Yong Yang

08/18/2023, 11:38 AM
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

Tynan

08/18/2023, 11:39 AM
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

Yong Yang

08/18/2023, 11:42 AM
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

Tynan

08/18/2023, 12:24 PM
thank you
y

Yong Yang

08/26/2023, 7:40 AM
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

datajoely

08/27/2023, 6:58 PM
It’s a public holiday in the UK atm you may not get an answer until Tuesday unfortunately
2 Views