-
-
Save mk-pmb/97be34cb47385aff0029175045374e4b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mkdir --parents /tmp/cage/lib | |
$ ln --symbolic --target-directory=/tmp/cage/lib -- /var/cache/nodejs_shared/node_modules | |
$ chmod a-w -- /tmp/cage/lib | |
$ npm install --verbose --global --prefix=/tmp/cage -- lodash.pick | |
npm verb cli [ | |
npm verb cli '/usr/bin/node', | |
npm verb cli '/mnt/…/node_modules/npm/bin/npm-cli.js', | |
npm verb cli 'install', | |
npm verb cli '--verbose', | |
npm verb cli '--global', | |
npm verb cli '--prefix=/tmp/cage', | |
npm verb cli '--', | |
npm verb cli 'lodash.pick' | |
npm verb cli ] | |
npm info using npm@8.5.5 | |
npm info using node@v16.14.2 | |
npm timing npm:load:whichnode Completed in 0ms | |
npm timing config:load:defaults Completed in 1ms | |
npm timing config:load:file:/mnt/…/node_modules/npm/npmrc Completed in 1ms | |
npm timing config:load:builtin Completed in 2ms | |
npm timing config:load:cli Completed in 3ms | |
npm timing config:load:env Completed in 0ms | |
npm timing config:load:project Completed in 1ms | |
npm timing config:load:file:/home/…/.npmrc Completed in 3ms | |
npm timing config:load:user Completed in 3ms | |
npm timing config:load:file:/tmp/cage/etc/npmrc Completed in 1ms | |
npm timing config:load:global Completed in 1ms | |
npm timing config:load:validate Completed in 1ms | |
npm timing config:load:credentials Completed in 1ms | |
npm timing config:load:setEnvs Completed in 0ms | |
npm timing config:load Completed in 13ms | |
npm timing npm:load:configload Completed in 13ms | |
npm timing npm:load:setTitle Completed in 1ms | |
npm timing config:load:flatten Completed in 2ms | |
npm timing npm:load:display Completed in 4ms | |
npm verb logfile /home/…/.npm/_logs/2022-03-24T20_05_05_974Z-debug-0.log | |
npm timing npm:load:logFile Completed in 4ms | |
npm timing npm:load:timers Completed in 0ms | |
npm timing npm:load:configScope Completed in 0ms | |
npm timing npm:load Completed in 23ms | |
npm timing arborist:ctor Completed in 2ms | |
npm WARN reify Removing non-directory /tmp/cage/lib/node_modules | |
npm timing command:install Completed in 7ms | |
npm verb stack Error: EACCES: permission denied, unlink '/tmp/cage/lib/node_modules' | |
npm verb cwd /tmp | |
npm verb Linux 5.4.0-106-lowlatency | |
npm verb argv "/usr/bin/node" "/mnt/…/node_modules/npm/bin/npm-cli.js" "install" "--verbose" "--global" "--prefix=/tmp/cage" "--" "lodash.pick" | |
npm verb node v16.14.2 | |
npm verb npm v8.5.5 | |
npm ERR! code EACCES | |
npm ERR! syscall unlink | |
npm ERR! path /tmp/cage/lib/node_modules | |
npm ERR! errno -13 | |
npm ERR! Error: EACCES: permission denied, unlink '/tmp/cage/lib/node_modules' | |
npm ERR! [Error: EACCES: permission denied, unlink '/tmp/cage/lib/node_modules'] { | |
npm ERR! errno: -13, | |
npm ERR! code: 'EACCES', | |
npm ERR! syscall: 'unlink', | |
npm ERR! path: '/tmp/cage/lib/node_modules' | |
npm ERR! } | |
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. | |
npm verb exit -13 | |
npm timing npm Completed in 191ms | |
npm verb unfinished npm timer reify 1648152306159 | |
npm verb code -13 | |
npm ERR! A complete log of this run can be found in: | |
npm ERR! /home/…/.npm/_logs/2022-03-24T20_05_05_974Z-debug-0.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment