I am trying to use ManagementClient to create a new user after updating “auth0” from 3.6 to 4.3. But I am getting this error:
TypeError: Right-hand side of 'instanceof' is not an object
When I look at the code, I see that in this line: node-auth0/src/lib/runtime.ts at master · auth0/node-auth0 · GitHub, the FormData
is undefined.
This is a typescript project, and I have tried to add “dom” to my libs array in the tsconfig.json
file.
I am running node 18.