Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream". #61532
-
Select Topic AreaQuestion BodyHi, my site works/renders in the browser perfectly locally, but when accessing it through the custom domain I have associated with GitHub Pages, I get the error: Any help would be greatly appreciated. I worked for days trying to solve this issue.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Hello, Check in your browser's console. If you get an unexpected MIME type somewhere, it's probably because you are receiving a 404 error instead of a 200. |
Beta Was this translation helpful? Give feedback.
-
Hey, did you ever resolve this? Running into the exact same issue with my custom domain (.com)/gh pages workflow/vite TS app. |
Beta Was this translation helpful? Give feedback.
-
Yes. I will respond with my resolution in the morning.
On Thu, Aug 17, 2023 at 1:29 AM Nathaniel Cook ***@***.***> wrote:
Hey, did you ever resolve this? Running into the exact same issue with my
custom domain (.com)/gh pages workflow/vite TS app.
—
Reply to this email directly, view it on GitHub
<#61532 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3LF27PLEIP5PS7G5KWEQHTXVW253ANCNFSM6AAAAAA2UBT3AA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Best - Andrea
|
Beta Was this translation helpful? Give feedback.
So, I'm not sure which step or if all the steps will help you. this is bc I combined about three solutions, minus some parts, into one total solution.
I hope I remember all the pieces here. If you have issues, please let me know, and I will try to help more.
full instructions on setting up site via pages here
![repo-actions-settings]
i used google domains as my domain registrar
…