Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Unable to load chat on webpages



Unable to load chat on webpages with require.js when inserting a chat code on application web pages.

Error Messages

Uncaught TypeError: Cannot read property 'load' of undefined
at Object./home/pegausr/develop/ff-products/chat/node_modules/moment-timezone/index.js../data/packed/latest.json (chatLoader.js:formatted:22621)
at a (chatLoader.js:formatted:17)
at chatLoader.js:formatted:19
at Object./home/pegausr/develop/ff-products/chat/client/chat/connection/message.js.../utils/objectPolyfill (chatLoader.js:formatted:955)
at a (chatLoader.js:formatted:17)
at chatLoader.js:formatted:19
at Object./home/pegausr/develop/ff-products/chat/client/chat/connection/chat.js.../../../common/client/cookies (chatLoader.js:formatted:207)
at a (chatLoader.js:formatted:17)
at chatLoader.js:formatted:19
at Object./home/pegausr/develop/ff-products/chat/client/chat/connection/chatHub.js.../../../common/client/cookies (chatLoader.js:formatted:541)

Steps to Reproduce


Root Cause

Conflict in the node modules when using AMD and other .js libraries such as require.js.


Apply HFix-38917.

Published December 7, 2017 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us