#Failed to load module script
1 messages ยท Page 1 of 1 (latest)
!helper
hmm, the mime type being "text/html" could indicate that it's 404ing (file isn't there in that path)
are you using a custom server?
@swift osprey
you can not import main.tsx.
if you want to import main.tsx, you will must import the file in App.tsx.
hello sorry i was asleep
i have tried testing if the server just couldnt locate the file but turns out it can (i deleted the script and added an h1 hello world)
what do you mean? ๐
ehh can u elaborate more
oh and the weird thing is
everything works functionally on the local host server
on both host from yarn dev, and yarn preview after building
then after i deployed from firecms into firehost then open my web url then it shows that error on the console
but only when the script tag on main.tsx is used and not when others are added within the body tag
@swift osprey
typescript file can not be load.
if you build successfully, can you change import statement?
<script src='main.js' type='module'></script>
you don't need to create main.js.
can you give me sorce code?
if you done, I will try.
wait let me try that ...
nope the build failed
I will try it.
1st one is index.html
2nd one is app.tsx
3rd one is main.tsx
could you send me the whole project with a zip file?
because of node modules.
yepp
is it possible if i send u through an email?
or should i exclude node modules while compressing
that's okay!
okei
thank you. now I am a bit busy.
I will try it this evening.
after resolving problem.
I am from japan.
could you tell me where you are from?
i appreciate u helping me this far haha
take your time !
@lyric crypt hi sorry for bother if ur busy haha in case u forget
now, I have some tasks. so a bit busy.
tomorrow, I will try it.
ohh its alrightt
here, it's 1 o'clock.
what's time?
when do you got to bed? โ
ehh pretty late ahaha
4-5 ๐
how many hours do you sleep a day?
does it mean you sleep at 4~5?
yess around that lol
@swift osprey
hi there!
hii, thank you so muchh...i also had just found the error in the firebase.json where i had routed the wrong destination to be deployed ๐
nonetheless thank you for assisting me !
@swift osprey