btholt / complete-intro-to-react-v4

The Complete Intro to React, as given for Frontend Masters
https://frontendmasters.com/learn/react/
1.14k stars 248 forks source link

Issue with petfinder API not working - syntaxError: expected expression, got '<' #31

Closed sweinstock closed 5 years ago

sweinstock commented 5 years ago

I think my issue is different than the ones listed because it's reading the api key and the api secret, but I think the pet finder website updated their api and I only can get the keys for the new version which maybe doesn't work for this code? Is there a way to still get the old keys?

nickwwh commented 5 years ago

Hi, @btholt recently updated the petfinder client so that it is compatible with PetFinder API v2. However my guess is that he has not pushed the changes to npm. You can install the latest petfinder client via npm install https://github.com/btholt/petfinder-client

sweinstock commented 5 years ago

Thank you, I ran the above in git bash and it's working perfectly now