Skip to content
Benjamin Lupton edited this page Mar 15, 2015 · 2 revisions

From https://youtu.be/EXb0H84cx-A?t=28m14s

For when seeing this error when running npm link for docpad:

$ npm link
npm ERR! Linux 3.8.11
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "link"
npm ERR! node v0.12.0
npm ERR! npm  v2.5.1
npm ERR! path /usr/local/bin/docpad
npm ERR! code EEXIST

npm ERR! Refusing to delete: /usr/local/bin/docpad not in /home/mikeumus/Downloads/Bevry/DocPad/Dev/docpad
File exists: /usr/local/bin/docpad
Move it away, and try again. 

npm ERR! Please include the following file with any support request:
npm ERR!     /home/mikeumus/Downloads/Bevry/DocPad/Dev/docpad/npm-debug.log

Run this to fix it:

rm /usr/local/bin/docpad*
Clone this wiki locally