-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AOT build failing with error "Access token is required for new ApiAi.Client instance" #6
Comments
IIRC you need to create your own API key and change it here: https://github.com/sfeir-open-source/angular-search-experience/blob/master/src/environments/environment.ts#L17 but @manekinekko will know best |
@Haroenv is correct, this is due to a wrong access token being used for the dialogflow client. However, I'm gonna probably remove the easter egg part from the rest of the app. In the meantime, you may wanna create a dialogflow account and use your own token. Here is how: https://dialogflow.com/docs/reference/agent#obtaining_access_tokens |
I am using my own key. |
I am trying to configure my module using
forRoot
and data formenvironment
like you did in this project. but getting following error.Error
wonder if you have any workaround for AOT build to make it work with
forRoot
https://github.com/sfeir-open-source/angular-search-experience/blob/master/src/app/core/core.module.ts#L19
The text was updated successfully, but these errors were encountered: