N
Novu9mo ago
balance

Can't init session widget and LaunchDarkly after Migration from 0.9.0 -> 0.18.0

Hello everyone, so I was tasked with the great quest to migrate from 0.9.0 to 0.18.0 and it seems, I mostly got it working. It's a bit hard to judge for me, since I'm rather unfamiliar with Novu. I host it using docker compose, at least locally. Nothing's deployed yet. When I surf around the localhost:4200 dashboard, I see the following "HTTP errors". 1. POST http://localhost:3000/v1/widgets/session/initialize => 404 (several times) LaunchDarkly The following seem all to be related. I guess since there is no env/client-side ID specified, everything else doesn't work but I have no idea how I do specify one. 2. [LaunchDarkly] No environment/client-side ID was specified. Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initializing-the-client for instructions on SDK initialization. 3. GET https://app.launchdarkly.com/sdk/goals/undefined => 404 (note the undefined) 4.(this is related to 3.) XML Parsing Error: no root element found Location: https://app.launchdarkly.com/sdk/goals/undefined Line Number 1, Column 1: 5. [LaunchDarkly] Environment not found. Double check that you specified a valid environment/client-side ID. Please see https://docs.launchdarkly.com/sdk/client-side/javascript#initializing-the-client for instructions on SDK initialization.
LaunchDarkly Docs
JavaScript SDK reference
This topic documents how to get started with the client-side JavaScript SDK, and links to reference information on all of the supported features.
1 Reply
Pawan Jain
Pawan Jain9mo ago
Hi, here 404 error means widget service is not running