csnover/dojo-boilerplate — Issue #23: Error Cannot read property 'addEventListener' of undefined
Author: apb2006
Created: 2011-11-16 23:20:14+00:00
State: open

Hi,
I tried this on ubuntu with node 0.61 usin the amd1.7 branch. I get the error below.
````
andy@ThinkPad-T42:~/workspace/dojo-boilerplate$ util/build.sh
Using /home/andy/workspace/dojo-boilerplate/profiles/main.profile.js. CSS will be copied and JS will be built.
Cleaning old files... Done

node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
TypeError: Cannot read property 'addEventListener' of undefined
at /home/andy/workspace/dojo-boilerplate/src/js/dojo/dojo.js:242:65
at Object. (/home/andy/workspace/dojo-boilerplate/src/js/dojo/dojo.js:1749:2)
at Module._compile (module.js:432:26)
at Object..js (module.js:450:10)
at Module.load (module.js:351:31)
at Function._load (module.js:310:12)
at Array.0 (module.js:470:10)
at EventEmitter._tickCallback (node.js:192:40)
````