yeoman / generator-backbone

Scaffold out a Backbone.js project
http://yeoman.io
638 stars 157 forks source link

Not sure yet which one is getting the error grunt-require or grunt-usemin or else #376

Closed elwebdeveloper closed 8 years ago

elwebdeveloper commented 8 years ago

After running yo backbone app, I get the following error when running grunt or grunt build

Running "useminPrepare:html" (useminPrepare) task Configuration changed for concat, uglify, cssmin

Running "requirejs:dist" (requirejs) task Error: Error: Missing either an "out" or "dir" config value. If using "appDir" for a full project optimization, use "dir". If you want to optimize to one file, use "out". at Function.build.createConfig (/Users/edison/Sites/backbone-generated/node_modules/grunt-requirejs/node_modules/requirejs/bin/r.js:31109:19) Warning: Task "requirejs:dist" failed. Use --force to continue.

Aborted due to warnings.

lauradaniela commented 8 years ago

@elwebdeveloper you can resolve the error?

marian-r commented 8 years ago

@elwebdeveloper do you use the latest version of the generator? If yes and still getting the error, could you please specify what options are used when generating the project?

elwebdeveloper commented 8 years ago

I think it has been resolve, after last re-install all previous problem seen to be gone. I just ran grunt build after creating a /model/collection/route/view/views again

marian-r commented 8 years ago

Thank you @elwebdeveloper. Please close the issue.

ruyadorno commented 8 years ago

:+1: thanks for the help @marian-r