在 Angular 项目中找不到 Auth0 模块

Auth0 module not found on Angular project

我根据他们的 github 分叉了 Auth0 存储库(针对 Angular),并且我 运行 npm install 在根文件夹中。 在进程结束时,webpack 输出此消息:Cannot find module './auth0-variables' enter image description here 有没有人按照本教程遇到同样的问题并设法克服它?

您可以在登录文件夹中的 readme.md 文件中找到答案。 我们必须使用您的客户端 ID 和域

创建 auth0-variable.ts
https://github.com/auth0-samples/auth0-angular-samples/tree/master/01-Login