Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined (reading 'baseSize') #6

Open
Kanekixxx opened this issue May 16, 2022 · 3 comments
Open

Cannot read properties of undefined (reading 'baseSize') #6

Kanekixxx opened this issue May 16, 2022 · 3 comments

Comments

@Kanekixxx
Copy link

Kanekixxx commented May 16, 2022

image
TypeError: Cannot read properties of undefined (reading 'baseSize')
at E:\SvilBot*\node_modules\stockx-scraper\src\index.js:70:53
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Object.getProduct (E:\SvilBot*
\node_modules\stockx-scraper\src\index.js:47:29)
at async LoadStockxPrice (E:\SvilBot**.js:665:18)
at async LoadStockxPrice (E:\SvilBot**.js:678:5)
at async LoadStockxPrice (E:\SvilBot**.js:678:5)
at async LoadStockxPrice (E:\SvilBot**.js:678:5)
at async ChangePrice (E:\SvilBot**.js:162:22)
at async E:\SvilBot**.js:51:17'

It will return error every Woman Size right now!

@Kanekixxx
Copy link
Author

image
This is the item i'm testing it

@Kanekixxx
Copy link
Author

I fixed by using this
image

At the last run the key variable takes the value of "remove" and it's not correct

@iyarsius
Copy link
Owner

Hi,

Thanks for your report but i can't reproduce your error.
but your patch does not cause any problem on the functional requests so I updated and published it in a new version of the module.

this will prevent this issue to happen.

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

No branches or pull requests

2 participants