#Failed to load module script

1 messages ยท Page 1 of 1 (latest)

swift osprey
#

Is there any ideas to solve this?

swift osprey
#

!helper

placid aurora
#

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?

lyric crypt
#

@swift osprey

#

you can not import main.tsx.

#

if you want to import main.tsx, you will must import the file in App.tsx.

swift osprey
#

hello sorry i was asleep

swift osprey
swift osprey
swift osprey
#

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

lyric crypt
#

@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.

lyric crypt
lyric crypt
swift osprey
#

1st one is index.html
2nd one is app.tsx
3rd one is main.tsx

lyric crypt
#

could you send me the whole project with a zip file?

swift osprey
#

owh okk

#

due to the large size can i send u through other platforms?

lyric crypt
#

because of node modules.

swift osprey
#

yepp

#

is it possible if i send u through an email?

#

or should i exclude node modules while compressing

lyric crypt
swift osprey
#

okei

lyric crypt
#

@swift osprey
what is node's version?

#

yarn?

swift osprey
#

heree

lyric crypt
# swift osprey

thank you. now I am a bit busy.
I will try it this evening.

swift osprey
#

its ok !

#

thank you so much for assisting me

lyric crypt
#

I am from japan.
could you tell me where you are from?

swift osprey
lyric crypt
#

I see. ๐Ÿ‘

#

see you later.

swift osprey
#

take your time !

swift osprey
#

@lyric crypt hi sorry for bother if ur busy haha in case u forget

lyric crypt
swift osprey
#

ohh its alrightt

lyric crypt
#

here, it's 1 o'clock.
what's time?
when do you got to bed? โ“

swift osprey
#

4-5 ๐Ÿ˜‚

lyric crypt
#

how many hours do you sleep a day?

lyric crypt
swift osprey
lyric crypt
#

@swift osprey
hi there!

lyric crypt
swift osprey
# lyric crypt

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 !

lyric crypt
#

@swift osprey