kwhinnery/todomvc-plusplus

init_static not working when running grunt

pertrai1 opened this issue · 5 comments

I have tried to run grunt to build from the README and I get an error that init_static is not a task

grunt.registerTask('collect_static', 
    ['init_static', 'sass:dist', 'browserify']);

Was this fixed before I joined or am I missing something?

The actual task, as you see here, is grunt collect_static - I will double check that the README has the right value.

@kwhinnery

Warning: Task "init_static" not found. Use --force to continue.

I get this before that error:

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

That is the error you'll get if not using Node 6+ - would recommend upgrading to latest current or using nvm to get a later version.

Thank you