Authorization Extension is Throwing Compilation Errors

Overview

The authorization extension throws compilation failed errors when trying to view the User Interface (UI) or perform logins that trigger the extension.

Error seen:

“code”: 400, “message”: "Compilation failed: Cannot find module ‘uuid/v4’\nRequire stack:\n- /verquire_cache/_node12/auth0-extension-hapi-tools/1.3.1/node_modules/request/lib/auth.js

Applies To

  • Authorization Extension

Cause

The Authorization Extension is not up to date.

Solution

Make sure the Authorization Extension is up to date on the tenant.

  • This can be checked by going into the Extensions > Installed Extensions tab. An Update to {Version} button will show if the extension is not on the latest version:
    08ed7fca3452cec09f076bb4a49b5278ff370656_2_690x50