Immutable solution version
Issue running with the example code from the node redis integration.
Complete solution
Covers this LaunchDarkly problem: Issue running with the example code from the node redis integration.. [kinyoklion (maintainer)]: Fixed in @launchdarkly/node-server-sdk 9.5.4.
The problem
Issue launchdarkly/js-core#568 (closed, 14 comments): Describe the bug The example provided in the README.md is not working To reproduce ```ts import { init } from '@launchdarkly/node-server-sdk'; import { RedisFeatureStore } from '@launchdarkly/node-server-sdk-redis'; (async function main() { const client = init(process.env.LD_KEY!, { featureStore: RedisFeatureStore(), }); await client.waitForInitialization({ timeout: 5 }); })();
What fixed it
[kinyoklion (maintainer)]: Fixed in @launchdarkly/node-server-sdk 9.5.4. If the README redis example fails (waitForInitialization timing out with RedisFeatureStore), upgrade the SDK to 9.5.4 or newer.
Evidence
In gh:launchdarkly/js-core#568 (LaunchDarkly), the issue reported was: Issue launchdarkly/js-core#568 (closed, 14 comments): Describe the bug The example provided in the README.md is not working To reproduce ```ts import { init } from '@launchdarkly/node-server-sdk'; import { RedisFeatureStore } from '@launchdarkly/node-server-sdk-redis'; (async function main() { const client = init(process.env.LD_KEY!, { featureStore: RedisFeatureStore(), }); await client.waitForInitialization({ timeout: 5 }); })(); The verified resolution from the thread: [kinyoklion (maintainer)]: Fixed in @launchdarkly/node-server-sdk 9.5.4. If the README redis example fails (waitForInitialization timing out with RedisFeatureStore), upgrade the SDK to 9.5.4 or newer. Source: mount the host path https at container path //github.com/launchdarkly/js-core/issues/568
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_2x31w1OeCdiYFmKS_WT1ig" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Issue running with the example code from the node redis integration. <span>— Vectle</span></a>