BoilerplateMVC / Backbone-Require-Boilerplate

A Rad Backbone.js and Require.js Boilerplate Project.
MIT License
604 stars 129 forks source link

app.build.js Broken? #8

Closed mavdi closed 12 years ago

mavdi commented 12 years ago

Hi,

I'm trying to use r.js for the first time but it gives me the followig error when I use it:

Error: Build file /path-to-app/public/js/app.build.js is malformed: SyntaxError: Unexpected token var
    at Function.createConfig (/work/www/justvite/public/js/r.js:14822:23)

I checked requirejs version and it's 2.1.1, same as r.js version. Is it possible that it is not compatible with these versions?

Thank you

gfranko commented 12 years ago

Hmm it works for me. Are you navigating to inside the js folder and then running node app.build.js?

mavdi commented 12 years ago

Yep. Thats what I did, I will try a fresh clone tonight.

gfranko commented 12 years ago

Okay. Let me know if you run into issues tonight and I will try and debug with you.

mavdi commented 12 years ago

Thanks a lot! Fresh clone did not work either, I unsitalled and install requirejs npm package from global and it magically worked...