question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: 'ikea-availability-stock' does not exist

See original GitHub issue

Hello all,

I’ve installed the package within a docker container with the following settings:

  • ubuntu 20.04
  • nodejs v10.19.0
  • npm v6.14.4

To install the checker, I’ve used the following command npm install -g ikea-availability-checker which gives me a warning:

npm WARN notsup Unsupported engine for csv-string@4.0.1: wanted: {“node”:“>=12.0”} (current: {“node”:“10.19.0”,“npm”:“6.14.4”}) npm WARN notsup Not compatible with your version of node/npm: csv-string@4.0.1

Although ikea-availability --help outputs the correct help section of the program, ikea-availability stock at results in an error:

_/usr/local/lib/node_modules/ikea-availability-checker/node_modules/commander/index.js:925 throw new Error(executableMissing); ^

Error: ‘ikea-availability-stock’ does not exist

  • if ‘stock’ is not meant to be an executable command, remove description parameter from ‘.command()’ and use ‘.description()’ instead
  • if the default executable name is not suitable, use the executableFile option to supply a custom name at ChildProcess.proc.on (/usr/local/lib/node_modules/ikea-availability-checker/node_modules/commander/index.js:925:15) at ChildProcess.emit (events.js:198:13) at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) at onErrorNT (internal/child_process.js:415:16) at process.tickCallback (internal/process/next_tick.js:63:19) at Function.Module.runMain (internal/modules/cjs/loader.js:834:11) at startup (internal/bootstrap/node.js:283:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

Am I missing something? Any idea where my fault is?


Small side notice: ikea-availability-check can not be found as a executable.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
Ephigeniacommented, Sep 2, 2020

@maxkratz that’s a known issue with a workaround in the commander package which happens when a package uses differently named sub-command executable files than the main command. That is now fixed with https://github.com/Ephigenia/ikea-availability-checker/commit/da8bc52f78de85828c33a724b25fc5b508ce2d75

Try the new version v0.4.7 and I hope it works.

1reaction
Ephigeniacommented, Sep 1, 2020

@maxkratz thanks for testing again, I’ll look into it as soon as I can. Version 0.4.6. is the correct version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Product stock availability - IKEA
If the product is not available at your local store, you can check other stores on the product page. Get notified when it's...
Read more >
8 Reasons For IKEA Item In Stock But Not Available For ...
Another reason an IKEA item might be in stock but not available for pickup is that the item is out of stock at...
Read more >
IKEA's Online Inventory Problem: It's Here, But You Can't Have It
IKEA's product availability is much more detailed than many other retail sites, especially for mobile. It not only indicates availability, it ...
Read more >
Everything is "Out of Stock" online? : r/IKEA - Reddit
Is this a temporary bug, or does this mean Ikea just won't deliver to ... yatta - all items said there was stock...
Read more >
IKEA USA Help on Twitter: "@AdolfoGatti Sorry for the ...
... from our central warehouses depending on your zip code and availability, not your local store. Typically, this error is in reference to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found