i’ve been running into a lot of npm related issues...
# announcements
b
i’ve been running into a lot of npm related issues lately, something is broken and im dreaming of just wiping this old guy and starting fresh. packages i’ve just installed go missing, etc. etc.
f
ya
is it networking?
b
npm i hangs with the following:
Copy code
sill idealTree buildDeps
tried all the usuals. cache clear, double-check registry. remove package-lock, etc. etc.
npm i in other repos is working, and it doesn’t seem specific to the growthbook pacakge
f
what does
Copy code
npm config get registry
give you?
b
aye. was set to corporate endpoint. something there is broken.
i thought i had set global to the offical npm, but apparently not.
f
Okay, I'm sure you know, but this should work
Copy code
npm config set registry <https://registry.npmjs.org/>
b
aye - resolved this a while ago. Then had to dig up old bigquery sandbox info
now i’m at
Copy code
API keys can be used with our Client Libraries (Javascript, React, PHP, Ruby, or Python) or the Visual Editor. View Documentation
and it looks like the ‘view doc’ link here is also broken. : https://docs.growthbook.io/api
thank you tho 🙂
looks like this should point to : https://docs.growthbook.io/api-docs
hm. a bit confused here.
i’ve setup my bigquery sandbox and moved on to generating an apikey i have that, so im trying to hit both my docker server’s endpoint… localhost:3000/config/myKey and /or https://cdn.growthbook.io/config/myKey both return 404
f
the api is hosted on port 3100, not 3000. So localhost:3100/config/myKey should work
b
ah duh, yah i’d seen that.
👍
f
I'll fix that api docs link and add some more clarification there about using port 3100
b
aye. yah. i remember reading that the docker app started the api on 3100, but its getting to the end of the day so it slipped from memory.
im excited about finding and setting this up.
f
🚀