There were a bunch of plot holes in the movie. I saw a list that someone compiled. My favorite was:
The entire planet is a junkyard with every ship stripped for salable parts, yet the Millennium Falcon starts right up?
Terrible. The saga ended in 1983 for me
That’s not a plothole, either. The ONE ship shown getting stripped for sellable parts was a wrecked Star Destroyer which couldn’t possibly be repaired. Just because you’re a scavenger, that doesn’t mean you scavenge working vehicles, which is ridiculous. That’s like saying because you work in a junkyard you’ll take your working car and strip it for parts.