M
M
MAXH02014-08-22 20:40:24
Blogs
MAXH0, 2014-08-22 20:40:24

What is the problem when installing docpad?

I install DocPad on Mint 14. I
installed Node.js through the Program Manager.
Trying to install docpad ends

> [email protected] preinstall /usr/lib/node_modules/docpad/node_modules/cson/node_modules/js2coffee
> npm run-script ./cyclic.js

npm ERR! Error: EACCES, symlink '../lib/node_modules/docpad/bin/docpad'
npm ERR!  { [Error: EACCES, symlink '../lib/node_modules/docpad/bin/docpad']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '../lib/node_modules/docpad/bin/docpad' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-24-generic
npm ERR! command "node" "/usr/bin/npm" "install" "-g" "[email protected]"
npm ERR! cwd /home/inf
npm ERR! node -v v0.10.31
npm ERR! npm -v 1.4.24
npm ERR! path ../lib/node_modules/docpad/bin/docpad
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, symlink '../lib/node_modules/docpad/bin/docpad'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/inf/npm-debug.log
npm ERR! not ok code 0

I understand that the problem is file permissions.
But I don't understand how to fix it.
Questions:
1. Where is the installation of Node.js and docpad under Ubuntu similar systems described in detail?
2. Is it worth changing folder permissions or will it cause a lot of problems.
Threat I want to install exactly DocPad ... Do not offer replacements. Is that something similar to Node.js and Git.
This is exactly the idea. Those. collaborative work on text teaches you how to work with Git.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MAXH0, 2014-08-26
@MAXH0

In general, I solved the problem by reinstalling node.js...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question