gulp-modernizr: Repository cannot be installed?

Hey there, I’ve been trying to install the repository via NPM both in its registry and with the GIT url and I’m getting the following errors:

npm install --save-dev gulp-modernizr
npm WARN package.json Mixd-Frontend-Framework@1.0.0 No repository field.
npm http GET https://registry.npmjs.org/gulp-modernizr
npm http 404 https://registry.npmjs.org/gulp-modernizr
npm ERR! 404 'gulp-modernizr' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.

and with the GIT url …

npm install --save-dev https://github.com/doctyper/gulp-modernizr
npm WARN package.json Mixd-Frontend-Framework@1.0.0 No repository field.
npm http GET https://github.com/doctyper/gulp-modernizr
npm http 200 https://github.com/doctyper/gulp-modernizr
npm ERR! not a package /var/folders/v3/7m8n_d617kzdvw3z2m6kttlr0000gn/T/npm-6344-rNguOVd-/1403471157007-0.10342534794472158/tmp.tgz
npm ERR! Error: ENOENT, open '/var/folders/v3/7m8n_d617kzdvw3z2m6kttlr0000gn/T/npm-6344-rNguOVd-/1403471157007-0.10342534794472158/package/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/isaacs/npm/issues>

Perhaps something to do with the package.json?

Hope that helps, Luke

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 28 (7 by maintainers)

Most upvoted comments

I use this tried and true method:

npm install --save-dev https://github.com/doctyper/gulp-modernizr/tarball/develop