Error: Dynamic require of "node:buffer" is not supported
I re-deployed my sveltekit pages project. I hadnt added any new dependencies. I also havent upgraded any existing dependencies.
However, I'm now getting an error 500. And when I tail the logs I see:
Any idea how I resolve this?
1 Reply
I've found this is caused by using
import jwt from 'jsonwebtoken'