Firefox, Importmap Error, The specifier “three” was a bare

“Uncaught TypeError: The specifier “three” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “…/” or “/”.”

Using importmap, getting this error about half of the time on Firefox, very inconsistent.

Anyone know a solution?

1 Like

do you have your import map at the top of the html before any other script tags?

1 Like

Very much at bottom,

slide the module-shims and importmap scripts to the top, prefferably inside the header tag before any other script tags, that should hopefully resolve the issue on ff, you can keep your module at the bottom


Bingo, fixed it, thanks

1 Like

I did that but I’m still getting the error sometimes.