We're modernizing a Craft 3 website, in this episode we've managed to figure out why the slick and slick lightbox JavaScript wasn't working. It was a confluence of errors, including: leaving the old script tags in the Twig code (so they were loaded twice), importing the wrong module ('slick' vs. 'slick-carousel'), and finally needing to require() the old commonjs modules rather than import them via ESM syntax.
The site is now live at: https://kerry-brown.com/