0
Under review

Uncaught SyntaxError: Unexpected token '<' (at vhost_embed_functions_v4.php?acc=5626448&js=1:1:1)

mustafa abdelkawy16 2 months ago updated by Gil Sideman 2 months ago 6

Uncaught SyntaxError: Unexpected token '<' (at vhost_embed_functions_v4.php?acc=5626448&js=1:1:1)
I get an error when adding sitepal in nextjs app.
it did work and suddenly not works

Image 237

I run it locally
it works if it's published

Hello Mustafa - 

When you run the nextjs build locally - does the build fail on localhost but then work on your live page?

Mustafa - 

And when the build is created - if you run it on localhost does it work?


Just to let you know, our team is building a nextjs example to see if we can recreate the problem. This may take a couple of days given other priorities. I'll let you know.

Regards,

Gil

Under review

Hello Mustafa !

Can you share a link to your page where the problem can be seen?

Also pls advise which platform/browser you are using.

If you prefer - pls send the information to support@sitepal.com & we will advise asap

Thanx

https://management-lovat.vercel.app/

it's working on website. But it is not working on localhost gives me the error i sent. I tried it in chrome and Microsoft edge.