Skip to content

Commit

Permalink
Reverting fix for isaacs/npm#3958. Closes gruntjsgh-1046, gruntjsgh-1077
Browse files Browse the repository at this point in the history
.

* This doesn't work when "npm install" is run as root.
* When devving grunt, the user should follow "npm install" with "npm uninstall grunt" to work around the isaacs/npm#3958 issue. This will be reflected in the docs.
  • Loading branch information
cowboy authored and jamesplease committed Mar 12, 2014
1 parent 89aaa15 commit e92b242
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ node_js:
- "0.11"
before_script:
- npm install -g grunt-cli
- npm uninstall grunt # https://github.com/npm/npm/issues/3958
matrix:
fast_finish: true
allow_failures:
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
],
"main": "lib/grunt",
"scripts": {
"test": "grunt test",
"install": "npm-issue-3958-workaround"
"test": "grunt test"
},
"engines": {
"node": ">= 0.8.0"
Expand Down

0 comments on commit e92b242

Please sign in to comment.