Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use Modernizr v3? #1616

Closed
mattdesl opened this issue Jul 21, 2015 · 2 comments · Fixed by #1620
Closed

How to use Modernizr v3? #1616

mattdesl opened this issue Jul 21, 2015 · 2 comments · Fixed by #1620

Comments

@mattdesl
Copy link

Trying to use Modernizr3 and unfortunately I can't really figure it out. Installing from npm does not work:

var modnernizr = require('modernizr')

Cloning and installing the repo, then running ./bin/modernizr leads me to the following error:

{ [AssertionError: missing path]
  name: 'AssertionError',
  actual: undefined,
  expected: true,
  operator: '==',
  message: 'missing path',
  generatedMessage: false }
@patrickkettner
Copy link
Member

Hiya @mattdesl!

Can you give more details as to what you are doing? What is the exact command you are using to run the modernizr bin?

@tscholl2
Copy link

I got the same error when I ran $ ./bin/modernizr without any arguments. Then I read the help and you need to pass in the config file manually. So use this $ ./bin/modernizr -c lib/config-all.json.

Sometimes it helps to read :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants