Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Error Cannot read property 'addEventListener' of undefined #23

Closed
apb2006 opened this Issue · 3 comments

3 participants

@apb2006

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)
@csnover
Owner

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

@csnover csnover closed this
@vvoovv

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

@vvoovv

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.