Are you by any chance using the Godot Engine .NET version then? As even if your project is fully in GDScript, the .NET version is incapable of exporting to web, as far as I know.
If yes downloading the NONE-".NET" version and exporting your project from there might work.