Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when executing "bbb handlebars" #9

Open
Golodhros opened this issue Mar 24, 2013 · 7 comments
Open

Error when executing "bbb handlebars" #9

Golodhros opened this issue Mar 24, 2013 · 7 comments

Comments

@Golodhros
Copy link

Hi there,

I have follow your installation instructions, but when I get to the handlebars precompilation step I got this error:
Error: TypeError: Object # has no method 'options'
at Object.module.exports (/var/www/sparked/cab-mobile/node_modules/grunt-contrib/node_modules/grunt-contrib-handlebars/tasks/handlebars.js:35:24)
at Object.task.registerMultiTask.thisTask (/usr/lib/node_modules/bbb/node_modules/grunt/lib/grunt/task.js:109:15)
at Object.task.registerTask.thisTask.fn (/usr/lib/node_modules/bbb/node_modules/grunt/lib/grunt/task.js:58:16)
at Task. (/usr/lib/node_modules/bbb/node_modules/grunt/lib/util/task.js:343:36)
at Task. (/usr/lib/node_modules/bbb/node_modules/grunt/lib/util/task.js:319:9)
at Task. (/usr/lib/node_modules/bbb/node_modules/grunt/lib/util/task.js:346:11)
at Task.start (/usr/lib/node_modules/bbb/node_modules/grunt/lib/util/task.js:359:5)
at Object.grunt.tasks (/usr/lib/node_modules/bbb/node_modules/grunt/lib/grunt.js:143:8)
at Object.module.exports as cli
at Object. (/usr/lib/node_modules/bbb/bbb.js:98:7)

Could it be due to a change in bbb contrib?

Many thanks for your awesome work!

@raDiesle
Copy link
Owner

Hi Golodhros,

thanks for your information.

I am currently investigating in
https://github.com/raDiesle/backbone-fundamentals/blob/gh-pages/chapters/10-mobile-applications.md
as well as
https://github.com/raDiesle/backbone-fundamentals/tree/gh-pages/practicals/todo-jqm-app
which was already merged with the trunk.

Within next week, I'm planning to update to the newest libraries, so stay tuned!

@Golodhros
Copy link
Author

Thanks!

@kingnight
Copy link

i find the similar problem , wait for your update

@raDiesle
Copy link
Owner

I commited the upgrade to grunt 0.4.0.
Can you check it again.

The steps needed are :

npm uninstall -g grunt

npm install -g grunt-cli
// actually not needed
npm install grunt --save-dev

then run :
grunt handlebars
grunt connect:server:keepalive

Is it working for you?

@Golodhros
Copy link
Author

It's Working!!
Thanks a lot!!

@kingnight
Copy link

ok,working , thanks a lot ,the chapter - 10-mobile-applications, very helpful to me !

@johntday
Copy link

johntday commented Sep 5, 2013

Not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants