Skip to content

Instantly share code, notes, and snippets.

@dhellmann
Created June 10, 2019 22:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dhellmann/6cbb1f2afbccc93826132207194cabdf to your computer and use it in GitHub Desktop.
Save dhellmann/6cbb1f2afbccc93826132207194cabdf to your computer and use it in GitHub Desktop.
$ bash -x ./hack/build-gitbook.sh
+ set -o errexit
+ set -o nounset
+ set -o pipefail
++ dirname ./hack/build-gitbook.sh
+ export KUBE_ROOT=./hack/..
+ KUBE_ROOT=./hack/..
+ cd ./hack/..
+ pushd docs/book/
~/go/src/github.com/kubernetes-sigs/cluster-api/docs/book ~/go/src/github.com/kubernetes-sigs/cluster-api
+ npm install gitbook-cli -g
npm WARN checkPermissions Missing write access to /usr/lib/node_modules
npm ERR! path /usr/lib/node_modules
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/lib/node_modules'
npm ERR! { [Error: EACCES: permission denied, access '/usr/lib/node_modules']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access \'/usr/lib/node_modules\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/lib/node_modules' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/dhellmann/.npm/_logs/2019-06-10T22_26_14_413Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment