https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
r

ripe-boots-56746

02/09/2023, 3:29 PM
Hello! I'm trying to set up Growthbook Javasctipr SDK and run it on client side in the browser, though I get an error and it seems like it is meant to be running on NodeJs, please see video for more details, and thanks for your help! -> https://www.loom.com/share/391215bbe6bc4322b0a5b76587a1c074
hey @fresh-football-47124, maybe you could have a look once you have a moment, sorry if I'm doing some silly obvious mistake when doing this set up, would appreciate if you find a minute to have a look at my recording (very short). Or we can talk in through as a part of product demo that we have booked to happen this Thursday. Thanks!
f

fresh-football-47124

02/14/2023, 6:33 PM
Hi Alex
sorry about the delay
We might have a bug in our bundling code. The process code should be removed in the build process. The reason we duplicate that same check everywhere instead of abstracting it is just a bundle size optimization. All of the log stuff gets removed completely in the production bundle (or ati least it’s supposed to)
r

ripe-boots-56746

02/15/2023, 11:36 AM
ok, thanks! hope it would get resolved soon
f

fresh-football-47124

02/15/2023, 6:44 PM
f

future-teacher-7046

02/16/2023, 3:38 PM
@ripe-boots-56746 unpkg appears to be down right now (at least for me). Using an alternative CDN seems to work and there's no reference to
process.env
. https://cdn.jsdelivr.net/npm/@growthbook/growthbook/dist/bundles/esm.min.js
🙌 1
r

ripe-boots-56746

02/28/2023, 6:00 PM
hey @fresh-football-47124, @future-teacher-7046, I just created my first feature/experiment, but I'm failing to confirm I'm inside of that experiment, when all points that I should be in, here is my recording -> https://www.loom.com/share/3ead4847b6a04270a9e396c1ff74657d I appreciate your help very much!
f

fresh-football-47124

02/28/2023, 6:02 PM
Thanks for your feedback. to answer your questions: The default value is used if no other override rules change the fault.
You’re not getting an experiment because you have no user attributes
👀 1
we need to have the attribute you’re using in the SPLIT field
r

ripe-boots-56746

02/28/2023, 6:03 PM
ok, got it, sorry if it was a silly question.
f

fresh-football-47124

02/28/2023, 6:03 PM
no, no problem
the way you have it set up
you’ll need to have at least two attributes
‘lc-qa’ and ‘id’
r

ripe-boots-56746

02/28/2023, 6:04 PM
exactly! ok, thanks
18 Views