Removing gulp and starting over
I have an old project from two years ago that I am trying to update. At this point I want to remove gulp completely from my machine and start over with the new guide for version 4 of npm install --global gulp-cli
, but I get the following error:
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/danale/.npm-global/share/man/man1/gulp.1: ../../../lib/node_modules/gulp/gulp.1 symlink target is not controlled by npm /Users/danale/.npm-global/share/man/man1
npm ERR! File exists: /Users/danale/.npm-global/share/man/man1/gulp.1
npm ERR! Move it away, and try again.
I have tried rm -rf node_modules/
, then npm install gulp-cli -g
and the error returns. The file that needs to be deleted is here 0 lrwxr-xr-x 1 danale admin 36 Aug 18 2017 gulp -> ../lib/node_modules/gulp/bin/gulp.js
.
I have tried $ rm ~/lib/node_modules/gulp/bin/gulp.js
.
rm: /Users/danale/lib/node_modules/gulp/bin/gulp.js: No such file or directory
I am still unable to remove it. How do I remove gulp completely from my Mac OSX and just start over according to current gulp documentation?
node.js npm gulp
add a comment |
I have an old project from two years ago that I am trying to update. At this point I want to remove gulp completely from my machine and start over with the new guide for version 4 of npm install --global gulp-cli
, but I get the following error:
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/danale/.npm-global/share/man/man1/gulp.1: ../../../lib/node_modules/gulp/gulp.1 symlink target is not controlled by npm /Users/danale/.npm-global/share/man/man1
npm ERR! File exists: /Users/danale/.npm-global/share/man/man1/gulp.1
npm ERR! Move it away, and try again.
I have tried rm -rf node_modules/
, then npm install gulp-cli -g
and the error returns. The file that needs to be deleted is here 0 lrwxr-xr-x 1 danale admin 36 Aug 18 2017 gulp -> ../lib/node_modules/gulp/bin/gulp.js
.
I have tried $ rm ~/lib/node_modules/gulp/bin/gulp.js
.
rm: /Users/danale/lib/node_modules/gulp/bin/gulp.js: No such file or directory
I am still unable to remove it. How do I remove gulp completely from my Mac OSX and just start over according to current gulp documentation?
node.js npm gulp
add a comment |
I have an old project from two years ago that I am trying to update. At this point I want to remove gulp completely from my machine and start over with the new guide for version 4 of npm install --global gulp-cli
, but I get the following error:
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/danale/.npm-global/share/man/man1/gulp.1: ../../../lib/node_modules/gulp/gulp.1 symlink target is not controlled by npm /Users/danale/.npm-global/share/man/man1
npm ERR! File exists: /Users/danale/.npm-global/share/man/man1/gulp.1
npm ERR! Move it away, and try again.
I have tried rm -rf node_modules/
, then npm install gulp-cli -g
and the error returns. The file that needs to be deleted is here 0 lrwxr-xr-x 1 danale admin 36 Aug 18 2017 gulp -> ../lib/node_modules/gulp/bin/gulp.js
.
I have tried $ rm ~/lib/node_modules/gulp/bin/gulp.js
.
rm: /Users/danale/lib/node_modules/gulp/bin/gulp.js: No such file or directory
I am still unable to remove it. How do I remove gulp completely from my Mac OSX and just start over according to current gulp documentation?
node.js npm gulp
I have an old project from two years ago that I am trying to update. At this point I want to remove gulp completely from my machine and start over with the new guide for version 4 of npm install --global gulp-cli
, but I get the following error:
npm ERR! code EEXIST
npm ERR! Refusing to delete /Users/danale/.npm-global/share/man/man1/gulp.1: ../../../lib/node_modules/gulp/gulp.1 symlink target is not controlled by npm /Users/danale/.npm-global/share/man/man1
npm ERR! File exists: /Users/danale/.npm-global/share/man/man1/gulp.1
npm ERR! Move it away, and try again.
I have tried rm -rf node_modules/
, then npm install gulp-cli -g
and the error returns. The file that needs to be deleted is here 0 lrwxr-xr-x 1 danale admin 36 Aug 18 2017 gulp -> ../lib/node_modules/gulp/bin/gulp.js
.
I have tried $ rm ~/lib/node_modules/gulp/bin/gulp.js
.
rm: /Users/danale/lib/node_modules/gulp/bin/gulp.js: No such file or directory
I am still unable to remove it. How do I remove gulp completely from my Mac OSX and just start over according to current gulp documentation?
node.js npm gulp
node.js npm gulp
asked Nov 22 '18 at 18:00
DanielDaniel
2,23321334
2,23321334
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Looks like it worked when I removed the file like so:
rm /Users/danale/.npm-global/share/man/man1/gulp.1
and then tried:
$ npm install --global gulp-cli
/Users/danale/.npm-global/bin/gulp -> /Users/danale/.npm-global/lib/node_modules/gulp-cli/bin/gulp.js
+ gulp-cli@2.0.1
added 235 packages from 148 contributors in 3.038s
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53436205%2fremoving-gulp-and-starting-over%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Looks like it worked when I removed the file like so:
rm /Users/danale/.npm-global/share/man/man1/gulp.1
and then tried:
$ npm install --global gulp-cli
/Users/danale/.npm-global/bin/gulp -> /Users/danale/.npm-global/lib/node_modules/gulp-cli/bin/gulp.js
+ gulp-cli@2.0.1
added 235 packages from 148 contributors in 3.038s
add a comment |
Looks like it worked when I removed the file like so:
rm /Users/danale/.npm-global/share/man/man1/gulp.1
and then tried:
$ npm install --global gulp-cli
/Users/danale/.npm-global/bin/gulp -> /Users/danale/.npm-global/lib/node_modules/gulp-cli/bin/gulp.js
+ gulp-cli@2.0.1
added 235 packages from 148 contributors in 3.038s
add a comment |
Looks like it worked when I removed the file like so:
rm /Users/danale/.npm-global/share/man/man1/gulp.1
and then tried:
$ npm install --global gulp-cli
/Users/danale/.npm-global/bin/gulp -> /Users/danale/.npm-global/lib/node_modules/gulp-cli/bin/gulp.js
+ gulp-cli@2.0.1
added 235 packages from 148 contributors in 3.038s
Looks like it worked when I removed the file like so:
rm /Users/danale/.npm-global/share/man/man1/gulp.1
and then tried:
$ npm install --global gulp-cli
/Users/danale/.npm-global/bin/gulp -> /Users/danale/.npm-global/lib/node_modules/gulp-cli/bin/gulp.js
+ gulp-cli@2.0.1
added 235 packages from 148 contributors in 3.038s
answered Nov 22 '18 at 20:21
DanielDaniel
2,23321334
2,23321334
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53436205%2fremoving-gulp-and-starting-over%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown