Yes, cost is the issue. Everyone assumes that anyone hesitant about Nuclear power is focussed on the environmental or safety concerns, but that is wrong. The costs (and cost overruns) of the construction and maintenance of Nuclear reactors have been enough reason on their own to be bearish on Nuclear. I'm hopeful that new technologies, such as small nuclear reactions that can be built in a factory, will address this.
Our nations were far less wealthy when the existing stock of nuclear power plants were built, the technology available for building them have improved since then, and the raw resources needed as their inputs aren't a constraint, so why have costs risen so much relative to what we are willing to spend on it? Environmental and safety regulations are supposed to be explanations for this rise in cost, not rival explanati…
If you want those reasons, go for it. Iran for instance is pursuing at least one of these goals when it works towards nuclear "power". Just don't expect affordable electricity at the end...