I'm trying to install ghost but shows this error when building Bookshelf.js:
Installing dependencies npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/babel-cli/6.18.0/package'
sudo npm install -g ghost --allow-root
I'm trying to install ghost but shows this error when building Bookshelf.js:
Installing dependencies npm ERR! Error: EACCES: permission denied, mkdir '/root/.npm/babel-cli/6.18.0/package'
sudo npm install -g ghost --allow-root
I solve using this: