Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Error Fetching with new Pokes #36

Open
cesardgo opened this issue Dec 15, 2016 · 7 comments
Open

Error Fetching with new Pokes #36

cesardgo opened this issue Dec 15, 2016 · 7 comments

Comments

@cesardgo
Copy link

If you have any of the new pre evolutions pokemons you will not be able to see data, error display is:

Error fetching inventory: TypeError: Cannot read property 'BaseStamina' of undefined

@billyvg
Copy link
Owner

billyvg commented Dec 18, 2016

Yeah https://github.com/billyvg/pokemon-journal/blob/master/app/api/baseStats.json needs to be updated to include the new pokemons

@cesardgo
Copy link
Author

Thanks for the answer, but now o got this error: Cannot read property 'num' of undefined. Trying to fixit and nothing yet.

I found on response.json the property num, and try to generate equal registry values for new pokemons but same error, will continue trying to fixit.

Thanks again And happy holidays.

@jefflembeck
Copy link

jefflembeck commented Dec 30, 2016

@cesardgo you'll also want to update https://github.com/billyvg/pokemon-journal/blob/master/app/api/pokemons.js as that is where the num for the meta attribute is pulled from.

Sidenote: do you have the baseStats.json updated? (because I'd totally love that info)

@cesardgo
Copy link
Author

cesardgo commented Jan 2, 2017 via email

@jefflembeck
Copy link

@cesardgo here's my current pokemons.js file: https://github.com/jefflembeck/pokemon-journal/blob/71484172053bb2b478386b5481d8ac6d077c7df6/app/api/pokemons.js

I'd love the new baseStats.json if you've got it (i'll make a PR to this repo once I have that)

@mgedwards
Copy link
Contributor

mgedwards commented Jan 5, 2017

Pull Request #37 created to add pokemon. Just the babies and togepi for now, but all the basestats are updated now.

@aisbergde
Copy link

Is it possible to compile a windows version using the new pokemon and to make it available for download? This would be great! (In August I was not able to compile it myself)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants