-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Could you help me figure out my issue? When I try and render my view, which is actually the error view, I am getting the error "window is not defined", but I am using your example view.
here is the error:
ReferenceError: window is not defined
at Object.<anonymous> (client\views\error.js:25:3)
at Module._compile (module.js:456:26)
at Object.require.extensions.(anonymous function) [as .js] (node_modules\node-jsx\index.js:26:12)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at View.module.exports.loader.engine (node_modules\react-view-engine\index.js:20:22)
at View.render (node_modules\express\lib\view.js:93:8)
at EventEmitter.app.render (node_modules\express\lib\application.js:566:10)
I am new to react, and this is a new project setup, I very well may of done something wrong, so any insight is appreciated.
Metadata
Metadata
Assignees
Labels
No labels