Cannot find module 'auth0' Require stack

I’ve got it fixed by switching the tenant NodeJS version from 18 to 16. You can change the tenant to Node 16 (Settings / Advanced /Runtime).