Search code examples
angularnpmauth0

Auth0 module not found on Angular project


I forked the Auth0 repo (for Angular) according to their github and I ran npm install on the root folder. At the end of the process webpack outputs this message: Cannot find module './auth0-variables' enter image description here Did anyone face same issue follow this tutorial and managed to overcome it?


Solution

  • You could find the answers in their readme.md file on the login folder. We have to create auth0-variable.ts with your client id and domain

    https://github.com/auth0-samples/auth0-angular-samples/tree/master/01-Login