Depends on the crime. For example: if a person steals (and they don’t know that they did wrong) they should get minor consequences such as probation and learn the wrongs of stealing by going to a crime prevention program. Plus, they should get reprimanded by their parents.
However, if a juvenile commits a more serious act such as shooting somebody, or steals a large sum of money from a bank (e.g.) then I could see a possibility of a child being prosecuted and tried as an adult.
So I agree with others that it depends on the severity of the crime. However, people are also judged based on if the person has committed crimes before. If they haven’t committed a crime before, there are likely to face less consequences. If they have committed the crime more than once, then they would be in more trouble.