markhuge / grunt-mailgun

MIT License
8 stars 8 forks source link

Install fails on Windows #2

Closed nataliecarey closed 10 years ago

nataliecarey commented 10 years ago

Running npm install results in:

3455 error grunt-mailgun@0.0.2 postinstall: make build 3455 error Exit status 1 3456 error Failed at the grunt-mailgun@0.0.2 postinstall script. 3456 error This is most likely a problem with the grunt-mailgun package, 3456 error not with npm itself. 3456 error Tell the author that this fails on your system: 3456 error make build 3456 error You can get their info via: 3456 error npm owner ls grunt-mailgun 3456 error There is likely additional logging output above. 3457 error System Windows_NT 6.1.7601 3458 error command "C:\Program Files (x86)\nodejs\node.exe" "C:\Program Files (x86)\nodejs\node_modules\npm\bin\npm-cli.js" "install" 3459 error cwd C:\Users\MatC\Documents\GitHub\alert-email-prototyping 3460 error node -v v0.10.28 3461 error npm -v 1.4.9 3462 error code ELIFECYCLE 3463 verbose exit [ 1, true ]

The MakeFile seems to be unix-style which may well be the problem.

nataliecarey commented 10 years ago

Using this github repo directly solves the problem.

"devDependencies": {
  "grunt-mailgun": "markhuge/grunt-mailgun",
}

Was this resolved with #1? Do you need to re-publish to npm?

markhuge commented 10 years ago

@matcarey This was fixed in the 0.0.3 release which is the current version in npm (https://www.npmjs.org/package/grunt-mailgun). It looks like your install is using 0.0.2.

If you've included grunt-mailgun as a dependency in your package.json, make sure you don't have it pinned to the 0.0.2 release.

You can force an install of the current version by running: npm install grunt-mailgun@0.0.3