gitlab-letsencrypt icon indicating copy to clipboard operation
gitlab-letsencrypt copied to clipboard

Command failed

Open konsumer opened this issue 6 years ago • 0 comments

When I run this:

npm i -g gitlab-letsencrypt

I get this error:

npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b v2.1.0 https://github.com/rolodato/le-acme-core.git /Users/konsumer/.npm/_cacache/tmp/git-clone-55f7ccb3
npm ERR! /Users/konsumer/.npm/_cacache/tmp/git-clone-55f7ccb3/.git: Permission denied
npm ERR!

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/konsumer/.npm/_logs/2018-04-27T00_45_39_683Z-debug.log

I removed ~/.npm and tried again, same issue.

I had a look at the parent dir:

ls -al /Users/konsumer/.npm/_cacache/tmp
total 0
drwxr-xr-x  2 konsumer  staff    64B Apr 26 17:56 ./
drwxr-xr-x  5 konsumer  staff   160B Apr 26 17:56 ../

NPM: 5.8.0 Node: v9.6.1 OSX: 10.13.4 (17E199)

konsumer avatar Apr 27 '18 01:04 konsumer