dialogflow-javascript-client
dialogflow-javascript-client copied to clipboard
Error Resolving ApiAiBaseError Symbol Value in angular-cli
Hey,
I'm using the Typescript version of the apiai-javascript-client in my angular-cli project. When I try to run ng build --prod
I get this error:
ERROR in Error encountered resolving symbol values statically. Reference to a non-exported class ApiAiBaseError. Consider exporting the class, resolving symbol ApiAiClientConfigurationError in /.../node_modules/api-ai-javascript/ts/Errors.ts
It seems like adding an export
in front of abstract class ApiAiBaseError extends Error
fixes the issue, for me at least.
Ok, I add commit for that, will appear in upcoming release
Hi @Gugic, it seems that my PR you integrated a couple of days ago will close this one as well. More specifically, thanks to the update to newest TS version, the export is automatically correctly set. Of course please check it to verify it is not just working on my fork...