npm i -g wrangler -> deprecated library
Hello,
my pipeline fails when i try to install wrangler globally. Im using ´node:16-alpine3.15´.
8 Replies
Can you share the full log? That deprecation alone shouldn’t break anything
The screenshot missed some lines...
python is missing as it seems
Does wrangler fully support node 18?
Node 16 or 18 should be fine, yeah. It looks like it's failing to build
better-sqlite3
better-sqlite3
has a tonne of prebuilt binaries, but I imagine alpine isn't one of them, so it's trying to compile from source and then failingmhm... it did work for months now 😅
i try another build an see what happens
wrangler 3 was released recently which might have changed up some deps. You could try
npm i wrangler@2 -g
It's generally best to pin dependencies than install them globallyah yeah that could be a cause. I will try with wrangler v2
⛅️ wrangler 2.20.0 (update available 3.0.0)
Wrangler v3 was the cause - with 2.x it works fine :)
thank you very much @cherryjimbo !