Mageia Bugzilla – Attachment 13661 Details for
Bug 31468
Missing write access for /usr/lib/node_modules/ when running npm install --global yarn to install yarn
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Complete log file
2023-01-28T14_06_11_807Z-debug.log (text/plain), 2.33 KB, created by
Kristoffer Grundström
on 2023-01-28 15:17:44 CET
(
hide
)
Description:
Complete log file
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2023-01-28 15:17:44 CET
Size:
2.33 KB
patch
obsolete
>0 info it worked if it ends with ok >1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '--global', 'yarn' ] >2 info using npm@6.14.17 >3 info using node@v14.21.1 >4 verbose npm-session 850530e4f83f0cfe >5 silly install loadCurrentTree >6 silly install readGlobalPackageData >7 http fetch GET 200 https://registry.npmjs.org/yarn 566ms >8 http fetch GET 200 https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz 292ms >9 silly pacote tag manifest for yarn@latest fetched in 923ms >10 timing stage:loadCurrentTree Completed in 993ms >11 silly install loadIdealTree >12 silly install cloneCurrentTreeToIdealTree >13 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms >14 silly install loadShrinkwrap >15 timing stage:loadIdealTree:loadShrinkwrap Completed in 5ms >16 silly install loadAllDepsIntoIdealTree >17 silly resolveWithNewModule yarn@1.22.19 checking installable status >18 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 16ms >19 timing stage:loadIdealTree Completed in 26ms >20 silly currentTree lib >21 silly idealTree lib >21 silly idealTree âââ yarn@1.22.19 >22 silly install generateActionsToTake >23 warn checkPermissions Missing write access to /usr/lib/node_modules >24 timing stage:rollbackFailedOptional Completed in 2ms >25 timing stage:runTopLevelLifecycles Completed in 1036ms >26 verbose stack Error: EACCES: permission denied, access '/usr/lib/node_modules' >27 verbose cwd /home/kristoffer >28 verbose Linux 5.15.88-desktop-1.mga8 >29 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--global" "yarn" >30 verbose node v14.21.1 >31 verbose npm v6.14.17 >32 error code EACCES >33 error syscall access >34 error path /usr/lib/node_modules >35 error errno -13 >36 error Error: EACCES: permission denied, access '/usr/lib/node_modules' >36 error [Error: EACCES: permission denied, access '/usr/lib/node_modules'] { >36 error errno: -13, >36 error code: 'EACCES', >36 error syscall: 'access', >36 error path: '/usr/lib/node_modules' >36 error } >37 error The operation was rejected by your operating system. >37 error It is likely you do not have the permissions to access this file as the current user >37 error >37 error If you believe this might be a permissions issue, please double-check the >37 error permissions of the file and its containing directories, or try running >37 error the command again as root/Administrator. >38 verbose exit [ -13, true ]
0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'install', '--global', 'yarn' ] 2 info using npm@6.14.17 3 info using node@v14.21.1 4 verbose npm-session 850530e4f83f0cfe 5 silly install loadCurrentTree 6 silly install readGlobalPackageData 7 http fetch GET 200 https://registry.npmjs.org/yarn 566ms 8 http fetch GET 200 https://registry.npmjs.org/yarn/-/yarn-1.22.19.tgz 292ms 9 silly pacote tag manifest for yarn@latest fetched in 923ms 10 timing stage:loadCurrentTree Completed in 993ms 11 silly install loadIdealTree 12 silly install cloneCurrentTreeToIdealTree 13 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms 14 silly install loadShrinkwrap 15 timing stage:loadIdealTree:loadShrinkwrap Completed in 5ms 16 silly install loadAllDepsIntoIdealTree 17 silly resolveWithNewModule yarn@1.22.19 checking installable status 18 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 16ms 19 timing stage:loadIdealTree Completed in 26ms 20 silly currentTree lib 21 silly idealTree lib 21 silly idealTree âââ yarn@1.22.19 22 silly install generateActionsToTake 23 warn checkPermissions Missing write access to /usr/lib/node_modules 24 timing stage:rollbackFailedOptional Completed in 2ms 25 timing stage:runTopLevelLifecycles Completed in 1036ms 26 verbose stack Error: EACCES: permission denied, access '/usr/lib/node_modules' 27 verbose cwd /home/kristoffer 28 verbose Linux 5.15.88-desktop-1.mga8 29 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--global" "yarn" 30 verbose node v14.21.1 31 verbose npm v6.14.17 32 error code EACCES 33 error syscall access 34 error path /usr/lib/node_modules 35 error errno -13 36 error Error: EACCES: permission denied, access '/usr/lib/node_modules' 36 error [Error: EACCES: permission denied, access '/usr/lib/node_modules'] { 36 error errno: -13, 36 error code: 'EACCES', 36 error syscall: 'access', 36 error path: '/usr/lib/node_modules' 36 error } 37 error The operation was rejected by your operating system. 37 error It is likely you do not have the permissions to access this file as the current user 37 error 37 error If you believe this might be a permissions issue, please double-check the 37 error permissions of the file and its containing directories, or try running 37 error the command again as root/Administrator. 38 verbose exit [ -13, true ]
View Attachment As Raw
Actions:
View
Attachments on
bug 31468
: 13661