Skip to content


Error Cannot read property 'addEventListener' of undefined #23

apb2006 opened this Issue · 3 comments

3 participants


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/
  Using /home/andy/workspace/dojo-boilerplate/profiles/main.profile.js. CSS will be copied and JS will be built.
  Cleaning old files... Done

        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)

This is not a dojo boilerplate issue. Node 0.6 is not supported by Dojo yet.

@csnover csnover closed this

Which version of Node.js is supported by dojo 1.7? I am getting the same error for Node.js 0.5


Sorry, don't pay attention to my comment.I tried compiled dojo.js instead of source dojo.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.