You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to upgrade to use version 0.20.6 pre-built libraries. I was previously using 0.19.9.
For some reason now the new loader is not loading "aws-sdk-2.903.0.min.js" from the right location (with the baseUrl pre-appended), also it looks like it's trying to load "lex-web-ui-loader-config.json" even though my loader config specifies to not load from Json file.
The other dependency js/css files are being loaded properly from my baseUrl.
We did move how the external dependencies load in v0.20.0, going from a CDN to being hosted in the S3 bucket. This might have caused an issue with your scenario. Is the code you shared in your parent page and you are using a direct uiConfig object to load the Web UI?
Is the code you shared in your parent page and you are using a direct uiConfig object to load the Web UI
Yes. That is correct.
For now I've gotten around this by explicitly loading the needed dependencies myself before calling the load function. But would be nice to see the loader working properly again.
Thanks yes I will look into it and try to figure out what broke here. I apologize but I don't have much experience with your specific configuration so I'll have to set something up on my side to mimic.
I'm currently trying to upgrade to use version 0.20.6 pre-built libraries. I was previously using 0.19.9.
For some reason now the new loader is not loading "aws-sdk-2.903.0.min.js" from the right location (with the baseUrl pre-appended), also it looks like it's trying to load "lex-web-ui-loader-config.json" even though my loader config specifies to not load from Json file.
The other dependency js/css files are being loaded properly from my baseUrl.
My loader config:
const loaderConfig = { baseUrl: 'https://myCDN/0.20.6/', shouldLoadConfigFromJsonFile: false, shouldLoadMinDeps: true, };
const uiConfig = { ui: { ... }, lex: {...}, };
The loading logic:
const loader = new window.ChatBotUiLoader.FullPageLoader(loaderConfig); loader.load(uiConfig);
Could someone tell me what I'm missing?
The text was updated successfully, but these errors were encountered: