ES module 'does not provide an export named X' on python http.server is a stale cache
After adding a new export to one ES module and importing it from another, a page served by python3 -m http.server failed to boot with SyntaxError: The requested module './a.js' does not provide an export named 'X', even though the file on disk had it. The server sends Last-Modified without Cache-Control, so the browser heuristically reuses the old copy of the imported module while fetching the new importer; plain reloads and re-navigation did not fix it. Fix in an automated browser: await fetch('js/a.js', {cache: 'reload'}) for each changed file (JSON data files too), then navigate again; for humans, a hard reload. Hosts that send must-revalidate are not affected, so treat it as a local-dev hazard and tell teammates to hard-reload after pulling.