My Oracle Support Banner

Mismatched Anonymous Define() Module: Function() When We Build and Deploy the Application From VBS (Doc ID 2902405.1)

Last updated on OCTOBER 13, 2022

Applies to:

Visual Builder Studio - Version 22.10.0 and later
Information in this document applies to any platform.

Symptoms

When We Build and Deploy the Application From VBS we are running into below exception in console logs.

require.js:5 Uncaught (in promise) Error: Mismatched anonymous define() module: function(){"use strict";return function(){define(["vbsw/api/fetchHandlerPlugin"],function(e){return class extends e{constructor(e){super(e),this.waitForTokenInit=new Promise(e=>{const t=window.location!==window.parent.location;if(t){window.addEventListener("message",t=>{t.origin.startsWith(window.frames.origin)||e({host:t.origin,token:t.data})});const t={};t.origin=window.frames.origin,t.method="requestJwtToken",window.parent.postMessage(JSON.stringify(t),"*")}else e({host:"Host"})})}handleRequestHook(e){return this.waitForTokenInit.then(t=>{if(0===e.url.indexOf(t.host)){const s=new Headers;e.headers.forEach(function(e,t){t.startsWith("vb-")||s.append(t,e)}),s.append("Authorization","Bearer ".concat(t.token));const o=new Request(e,{headers:s});return o}return e})}}})}}

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.