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
Hi,
I have this very strange issue where when I start electron via npm run start
I get this error in console. see below.
This error does not break anything as requirejs and application still works fine
This only happens on my laptop. I tested same source on different machines, this error does not come on other machines.
If i compile my code and open gui via forcing developer mode to look at console , this error is not there (on same laptop)
I have tried clearing , caches, uninstalling and installing node.js and node modules again from scratch but it is still there.
my HTML :
<body><script>if(window&&window.process&&window.process.versions['electron']){// is running inside electron not in web-browser// // http://electron.atom.io/docs/faq/#i-can-not-use-jqueryrequirejsmeteorangularjs-in-electron// move window.module, window.require inserted in DOM becuase of electron-node integration// window.nodeRequire=window.require;window.nodeExports=window.exports;window.nodeModule=window.module;deletewindow.exports;deletewindow.module;}window.require={waitSeconds: 0,urlArgs: 'bust='+(newDate()).getTime()};</script><scriptsrc="./js/requirejs/require.js"></script></body>
ERROR:
require.js:168Uncaught Error: Mismatchedanonymousdefine() module: function(){varCOMPILED=!0,goog=goog||{};goog.global=this;goog.isDef=function(a){returnvoid0!==a;};goog.exportPath_=function(a,b,c){a=a.split(".");c=c||goog.global;a[0]inc||!c.execScript||c.execScript("var "+a[0]);for(vard;a.length&&(d=a.shift());){!a.length&&goog.isDef(b) ? c[d]=b : c=c[d] ? c[d] : c[d]={};}};goog.define=function(a,b){varc=b;COMPILED||(goog.global.CLOSURE_UNCOMPILED_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES,a) ? c=goog.global.CLOSURE_UNCOMPILED_DEFINES[a] : goog.global.CLOSURE_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES,a)&&(c=goog.global.CLOSURE_DEFINES[a]));goog.exportPath_(a,c);};goog.DEBUG=!0;goog.LOCALE="en";goog.TRUSTED_SITE=!0;goog.STRICT_MODE_COMPATIBLE=!1;goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG;goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1;goog.provide=function(a){if(goog.isInModuleLoader_()){throwError("goog.provide can not be used within a goog.module.");}if(!COMPILED&&goog.isProvided_(a)){throwError('Namespace "'+a+'" already declared.');}goog.constructNamespace_(a);};
Error is very long so i am just pasting few lines above.
The text was updated successfully, but these errors were encountered:
To add efficacy of this bug, I will add that I'm getting the exact same error. When using devtron in any electron window that also uses requirejs, it causes requirejs to throw this error.
Hi,
I have this very strange issue where when I start electron via
npm run start
I get this error in console. see below.
my HTML :
ERROR:
Error is very long so i am just pasting few lines above.
The text was updated successfully, but these errors were encountered: