I ran this project successfully but met TypeError when I test api, I am using a macbook air m1, no code is modified, so I was confused