backbone.js-jquerymobile-boilerplate-template icon indicating copy to clipboard operation
backbone.js-jquerymobile-boilerplate-template copied to clipboard

Error when executing "bbb handlebars"

Open Golodhros opened this issue 11 years ago • 7 comments

Hi there,

I have follow your installation instructions, but when I get to the handlebars precompilation step I got this error: Error: TypeError: Object #<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!

Golodhros avatar Mar 24 '13 00:03 Golodhros

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!

raDiesle avatar Mar 24 '13 09:03 raDiesle

Thanks!

Golodhros avatar Mar 24 '13 23:03 Golodhros

i find the similar problem , wait for your update

kingnight avatar Mar 27 '13 02:03 kingnight

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?

raDiesle avatar Mar 27 '13 11:03 raDiesle

It's Working!! Thanks a lot!!

Golodhros avatar Mar 27 '13 17:03 Golodhros

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

kingnight avatar Mar 28 '13 01:03 kingnight

Not working.

johntday avatar Sep 05 '13 17:09 johntday