UPDATE: I got it to work by changing the type to Header Scripting and using the file dropdown instead of pointing to the file with the “edit” button. I’d still be curious if anyone knows why the meta tag method would just stop working.
I’m including the script using an html extension object, with type “Meta tags.” The script in the extension is
and myScript.js is in the extern folder of the project.
I have another project with the same setup, and it is working with no problems. Presumably I changed something somewhere that made it stop working, but I’m banging my head against the wall trying to figure out what it might be. I’ve also tried making a new file and linking that, in case something in myScript.js is bad, but I get the same error for an empty test.js file.
I’m using Lectora 17. Any ideas on what might keep the html from seeing the js file would be greatly appreciated.