S
SolidJS15mo ago
narmia

Help with Script Loader

I'm attempting to integrate my FB/Meta Pixel within my SolidStart Store. Unfortunately whenever I try to integrate it my site either breaks or, the pixel doesn't fire at all. Any idea what I may be doing wrong.
12 Replies
Alex Lohr
Alex Lohr15mo ago
Any error messages?
narmia
narmia15mo ago
Yes, I tried reimporting it but that didn't help.
Alex Lohr
Alex Lohr15mo ago
Ah, it's src, not url!
narmia
narmia15mo ago
narmia
narmia15mo ago
I changed that but still no luck. It saying src isn't a function but it seems to work in the other examples listed
Alex Lohr
Alex Lohr15mo ago
Someone removed the types... Maybe this is one of those scenarios where we now need a cjs-type file. I'll need some time to check that. Would you mind showing your package.json?
narmia
narmia15mo ago
of course
narmia
narmia15mo ago
Alex Lohr
Alex Lohr15mo ago
That's strange, you have set the type to module, so it cannot be due to missing cjs types. Maybe it's solid-start related. I need to test this.
Bsdacres
Bsdacres14mo ago
Ever solved?
Alex Lohr
Alex Lohr14mo ago
Sorry, lost track of this one. Let me check later.
Bsdacres
Bsdacres11mo ago
any luck?
Want results from more Discord servers?
Add your server