init_static not working when running grunt
pertrai1 opened this issue · 5 comments
pertrai1 commented
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?
kwhinnery commented
The actual task, as you see here, is grunt collect_static
- I will double check that the README has the right value.
pertrai1 commented
Warning: Task "init_static" not found. Use --force to continue.
pertrai1 commented
I get this before that error:
SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
kwhinnery commented
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.
pertrai1 commented
Thank you