Skip to content

Instantly share code, notes, and snippets.

@jmkgreen
Created May 18, 2020 12:09
Show Gist options
  • Save jmkgreen/caf87a8c20f98854b92dbab4b19c58f5 to your computer and use it in GitHub Desktop.
Save jmkgreen/caf87a8c20f98854b92dbab4b19c58f5 to your computer and use it in GitHub Desktop.
➜ ~ npm install aws-cdk
/home/jmkgreen
└── (empty)
npm WARN enoent ENOENT: no such file or directory, open '/home/jmkgreen/package.json'
npm WARN jmkgreen No description
npm WARN jmkgreen No repository field.
npm WARN jmkgreen No README data
npm WARN jmkgreen No license field.
npm ERR! Linux 4.4.0-18362-Microsoft
npm ERR! argv "/home/jmkgreen/.nvm/versions/node/v6.17.1/bin/node" "/home/jmkgreen/.nvm/versions/node/v6.17.1/bin/npm" "install" "aws-cdk"
npm ERR! node v6.17.1
npm ERR! npm v3.10.10
npm ERR! path /home/jmkgreen/node_modules/.staging/safe-buffer-7972f036
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall rename
npm ERR! Error: EACCES: permission denied, rename '/home/jmkgreen/node_modules/.staging/safe-buffer-7972f036' -> '/home/jmkgreen/node_modules/aws-cdk/node_modules/bl/node_modules/safe-buffer'
npm ERR! at destStatted (/home/jmkgreen/.nvm/versions/node/v6.17.1/lib/node_modules/npm/lib/install/action/finalize.js:25:7)
npm ERR! at /home/jmkgreen/.nvm/versions/node/v6.17.1/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:264:29
npm ERR! at FSReqWrap.oncomplete (fs.js:123:15)
npm ERR!
npm ERR! Error: EACCES: permission denied, rename '/home/jmkgreen/node_modules/.staging/safe-buffer-7972f036' -> '/home/jmkgreen/node_modules/aws-cdk/node_modules/bl/node_modules/safe-buffer'
npm ERR! at Error (native)
npm ERR! { Error: EACCES: permission denied, rename '/home/jmkgreen/node_modules/.staging/safe-buffer-7972f036' -> '/home/jmkgreen/node_modules/aws-cdk/node_modules/bl/node_modules/safe-buffer'
npm ERR! at destStatted (/home/jmkgreen/.nvm/versions/node/v6.17.1/lib/node_modules/npm/lib/install/action/finalize.js:25:7)
npm ERR! at /home/jmkgreen/.nvm/versions/node/v6.17.1/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:264:29
npm ERR! at FSReqWrap.oncomplete (fs.js:123:15)
npm ERR!
npm ERR! Error: EACCES: permission denied, rename '/home/jmkgreen/node_modules/.staging/safe-buffer-7972f036' -> '/home/jmkgreen/node_modules/aws-cdk/node_modules/bl/node_modules/safe-buffer'
npm ERR! at Error (native) parent: 'bl' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/jmkgreen/npm-debug.log
npm ERR! code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment