Skip to content
This repository

Error Cannot read property 'addEventListener' of undefined #23

Closed
apb2006 opened this Issue November 16, 2011 · 3 comments

3 participants

Andy Bunce Colin Snover Vladimir Elistratov
Andy Bunce

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)
Colin Snover
Owner

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

Colin Snover csnover closed this November 16, 2011
Vladimir Elistratov

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

Vladimir Elistratov

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.