Turbo navigation event causes script tags to be duplicated to the body

I’m just getting started experimenting with Turbo and Stimulus in a legacy app. I moved all the script tags that are in my application.html.erb file up to the <head> tag. On initial page load everything looks good. However, as soon as I click a navigation link to go to another page within the app I get a long “You are loading Turbo from a element inside the <body> element. This is probably not what you meant to do!” error. When I inspect the page markup, all the script tags are present in both the head and body. So everything is getting double loaded. I’ve searched all over the place and haven’t found a fix for this anywhere. I’ve tried adding data-turbo-eval=“false” to script tags in the head, but I’m still seeing the duplicated scripts.

UPDATE: The only thing I’ve found to have an impact is commenting out or deleting any <noscript> tags that are in my application.html markup.