Skip to content

Promise rejected for "unexpected end of file" for some products #97

Answered by Ephigenia
Peariforme asked this question in Q&A
Discussion options

You must be logged in to vote

I was checking the product codes that you mentioned. They all (except 504.688.54) require the "S" in front of it. Unfortunately some of the IKEA products have an "S" in front. That is only visible in the URL of the product(s). Taken the first product from the list "394.440.20" and searching it on the ikea.fr website leads to this product: https://www.ikea.com/fr/fr/p/aepplaroe-bain-de-soleil-teinte-brun-froesoen-duvholmen-beige-s39444020/

You’ll get the stock numbers by running:

npx ikea-availability-checker stock --country fr s39444020    

(If you’re running the command using npx you can leave out the --, they are only required when you run the script via npm)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Peariforme
Comment options

Answer selected by Ephigenia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants