I checked out v1.16.2 of the forum and was running node version 15.12 when I encountered the same error.
I downgraded to node version 14.6.0 and now this error is not coming up.
I hope this info can help anyone.
when i paste the ads code i'm getting this error? what can i do?
my nodebb version : v1.13.2
var infolinks_pid = 3333333;
var infolinks_wsid = 0;
and other question is , when i want to paste another js codes , is it below this code?
You don't need the
Just a correction: it's not that you don't need the
<script> - it's just illegal unless you're writing something like jsx. When run this will immediatly cause
If you want to include another script either use some kind of imports (for example es modules) that works inside JS, or put the
<script src=""> tag in custom header instead.