8000 window is not defined · Issue #75 · CodeArtemis/TriggerRally · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

window is not defined #75

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Rocks360 opened this issue Nov 26, 2015 · 1 comment
Open

window is not defined #75

Rocks360 opened this issue Nov 26, 2015 · 1 comment

Comments

@Rocks360
Copy link

Hello all,

I run the build.sh file after I installed requirejs. It works fine but now when I try to start the node server with the following command "node server/public/build-v3/main.js" I get this error output:

/Users/someuser/NodeJs_Projects/TriggerRally/server/public/build-v3/main.js:3
n||0===n)if("object"===oe.type(n))oe.merge(f,n.nodeType?[n]:n);else if(De.test(n)){for(o=o||p.appendChild(t.createElement("div")),a=(Pe.exec(n)||["",""])[1].toLowerCase(),s=Oe[a]||Oe._default,o.innerHTML=s[1]+n.replace(ke,"<$1></$2>")+s[2],c=s[0];c--;)o=o.firstChild;oe.merge(f,o.childNodes),o=p.firstChild,o.textContent=""}else f.push(t.createTextNode(n));for(p.textContent="",u=0;n=f[u++];)if((!i||-1===oe.inArray(n,i))&&(l=oe.contains(n.ownerDocument,n),o=g(p.appendChild(n),"script"),l&&d(o),r))for(c=0;n=o[c++];)Ne.test(n.type||"")&&r.push(n);return p},cleanData:function(e){for(var t,r,i,n=e.length,o=0,a=oe.event.special;n>o;o++){if(r=e[o],oe.acceptData(r)&&(t=ge.access(r)))for(i in t.events)a[i]?oe.event.remove(r,i):oe.removeEvent(r,i,t.handle);me.discard(r),ge.discard(r)}},_evalUrl:function(e){return oe.ajax({url:e,type:"GET",dataType:"text",async:!1,global:!1,success:oe.globalEval})}}),oe.fn.extend({wrapAll:function(e){var t;

ReferenceError: window is not defined
at Object. (/Users/someuser/NodeJs_Projects/TriggerRally/server/public/build-v3/main.js:3:21254)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:134:18)
at node.js:961:3

@0P3N50URC3-F0R3V3R
Copy link

Its my problem too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0