Legacy Knowledge Base
公開されました Jun. 30, 2025

"Uncaught (in promise) ReferenceError: global is not defined" または "Error:Load timeout for modules" エラーがフロントエンドで報告されました。

Written By

Ethan Wei

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • Uncaught (in promise) ReferenceError: global is not defined" や "Error:モジュールのロードタイムアウト" エラーがブラウザのコンソールに報告され、いくつかのボタンが消えたり、フォームがロードされないなどの異常な動作が発生します。
  • この問題は主に、 グーグルタグマネージャー(リンキンスクリプトと共に)を使用しているサイトに影響します。

環境

  • Liferay DXP 7.1
  • Liferay DXP 7.3

解像度

  • この問題は LPS-196120で修正されています。ヘルプセンターのチケットを開いて、Hotfixをリクエストしてください。

追加情報

  • ユーザーが経験している問題がこれかどうかを判断するには、以下の手順に従ってください:
    1. 問題が再現できるページにアクセスする。
    2. ブラウザでデベロッパーツールを開く -> Networkタブに切り替える -> ページを更新する。
    3. "insight.min.js "を検索する。
      1. Initiator タブから、このスクリプトが GTM(GoogleTagManager) からのものであることがわかる。
    4. hostsファイルでドメイン "snap.licdn.com "をブラックリストに入れ、フォーム/ボタンが期待通りにロードされるか確認してください。
      127.0.0.1 snap.licdn.com
  • この後、ページが正しく読み込まれれば、この記事で説明されている問題が、ユーザーが経験している問題である。

Did this article resolve your issue ?

Legacy Knowledge Base