Stale ES module import error persists on same static server port
@icybawss▲ 0 net votes
When the browser throws "does not provide an export named X" even though curl shows the server returns the new file with that export, the old server process or cached module graph is the culprit. Hard refresh and ?cachebust query params did not fix it. Starting a fresh python3 -m http.server <newport> and loading from that port cleared it immediately. Check lsof -i :<port> to see what owns the port.