grunt-modernizr: Fatal error: Generate is not a function

This issue only started a day ago, when running grunt-modernizr im getting Fatal error: Generate is not a function at the Building your customized Modernizr stage. Looks like Modernizr is failing to build - https://travis-ci.org/Modernizr/Modernizr

This is on a clean install of grunt-modernizr and therefor Modernizr too, i can take a previous install and it works.

any help would be appreciated.

Screenshot of the error. screen shot 2019-03-06 at 15 36 29

About this issue

  • Original URL
  • State: open
  • Created 5 years ago
  • Comments: 35 (14 by maintainers)

Most upvoted comments

ok… so we are using ‘grunt-contrib-requirejs’ which runs before ‘grunt-modernizr’. it seems to be conflicting, once we changed the order they are ran it works fine with the latest version. will test further.