aurajs / aura

A scalable, event-driven JavaScript architecture for developing component-based applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't go past a Grunt Task referring component initialize

IvoPereira opened this issue · comments

Good morning,

This is the first time I need to build something with Grunt, therefore I have not that high experience on it.

I was looking for the Aura boilerplate, but then I found out that I needed to have bower components and some other components I was missing (like RequireJS). I've decided to install Grunt, Bower and all the missing dependencies I had.

I've then created a folder where I have extracted the main Aura zip file. I've run Grunt and Bower in there to create the missing dependencies. After going into the folder where I've extracted the zip - the app folder -, http://localhost/app redirected me to http://localhost/app/spec. A kind of check started running and the following error appeared:

" 1) Components API Playing with Components Loading Components Should call the component's initialize method on start:
expected spy to have been called at least once, but it was never called
at http://localhost:8899/node_modules/chai/chai.js:401
at http://localhost:8899/node_modules/sinon-chai/lib/sinon-chai.js:61
at http://localhost:8899/node_modules/chai/chai.js:3089"

I thought I still had not started the application anywhere, or even declared a component (like it seemed so easy here in "Creating an application" http://hull.github.io/aura/), but I really don't know where to do it and I'm feeling so lost.

Possibly one of the reasons is not having experience with Grunt and all these build tools, but I guess Aura is missing a step-by-step tutorial totally from scratch.

I would appreciate any lights on this.

Thanks a lot.