Auth0 Account Link error with importing modules

Manage to workaround this (other issues comes up)

function (user, context, callback) {
   * This rule has been automatically generated by
   * Unknown at 2023-08-21T18:29:51.731Z
  //Removed: var request = require('request@2.56.0');
  var jwt = require('jsonwebtoken'); //Removed version targeting
  var queryString = require('querystring');
  var Promise = require('native-or-bluebird@1.2.0');

  var CONTINUE_PROTOCOL = 'redirect-callback';

Apparently request is embedded in the runtime environment, and jsonwebtoken will resolve needed/“working” versions.

Hope this helps. If anyone has any clue why is this happening (since still not deprecated), please reply

Will create a new thread and new issue with my other issue.

UPDATE: In the case of request you can just remove the version targeting and leave the line as

var request = require('request');
1 Like