[ 2 posts ]

Khael

  • Joined: Tue Apr 19, 2011 2:18 am
  • Posts: 7
  • Offline
  • Profile

configureYUI is not defined

Post Posted: Tue Apr 19, 2011 3:12 am
+0-
Hey Dave,

I've been following your work integrating yui3 with node.js and decided to give it a try yesterday when I had some time.

I must admit I am totally new to node.js so first I had to work my way through getting github account set up, installing (on my macbook) first git, then npm, then express, and the other required modules.

And last the nodejs-yui3 stuff.

I've been trying out the examples on the express site, and seems to be working fine.

But I am having problems with the nodejs-yui3 stuff, I keep getting this error:

ReferenceError: configureYUI is not defined

Since I am totally new to this, I dont know if its some problem with paths or something on my end..

I've been looking abit at your code, and it seems like a work in progress, with the getYUI function:

Code:
var getYUI = function(c) {
    //var yui3 = require('./yui3-yui3');
    //var YUI = yui3.configure(c);
    var YUI = configureYUI(c);
    return YUI;
}


Anyone who can give me any pointers on this issue?

Dav Glass

  • Username: davglass
  • Joined: Thu Aug 28, 2008 9:28 am
  • Posts: 2088
  • Location: Marion, IL, US
  • Twitter: davglass
  • GitHub: davglass
  • Gists: davglass
  • IRC: davglass
  • Offline
  • Profile

Re: configureYUI is not defined

Post Posted: Tue Apr 19, 2011 4:37 am
+0-
How did you install the package?
  [ 2 posts ]
Display posts from previous:  Sort by  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum