markdown-pdf icon indicating copy to clipboard operation
markdown-pdf copied to clipboard

Can't install from npm

Open sevku opened this issue 5 years ago • 3 comments

$ npm install -g markdown-pdf npm WARN npm npm does not support Node.js v10.15.2 npm WARN npm You should probably upgrade to a newer version of node as we npm WARN npm can't make any promises that npm will work with this version. npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. npm WARN npm You can find the latest version at https://nodejs.org/ npm WARN deprecated [email protected]: this package is now deprecated npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN checkPermissions Missing write access to /usr/local/lib npm ERR! path /usr/local/lib npm ERR! code EACCES npm ERR! errno -13 npm ERR! syscall access npm ERR! Error: EACCES: permission denied, access '/usr/local/lib' npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib'] npm ERR! stack: npm ERR! 'Error: EACCES: permission denied, access '/usr/local/lib'', npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'access', npm ERR! path: '/usr/local/lib' } 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/$USER/.npm/_logs/2020-03-12T18_45_58_350Z-debug.log

sevku avatar Mar 12 '20 18:03 sevku

the log:

0 info it worked if it ends with ok 1 warn npm npm does not support Node.js v10.15.2 2 warn npm You should probably upgrade to a newer version of node as we 3 warn npm can't make any promises that npm will work with this version. 4 warn npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9. 5 warn npm You can find the latest version at https://nodejs.org/ 6 verbose cli [ '/usr/bin/node', 6 verbose cli '/usr/bin/npm', 6 verbose cli 'install', 6 verbose cli '-g', 6 verbose cli 'markdown-pdf' ] 7 info using [email protected] 8 info using [email protected] 9 verbose npm-session 38f04267164e934b 10 silly install loadCurrentTree 11 silly install readGlobalPackageData 12 http fetch GET 200 https://registry.npmjs.org/markdown-pdf 20ms (from cache) 13 silly pacote tag manifest for markdown-pdf@latest fetched in 40ms 14 silly install loadIdealTree 15 silly install cloneCurrentTreeToIdealTree 16 silly install loadShrinkwrap 17 silly install loadAllDepsIntoIdealTree 18 silly resolveWithNewModule [email protected] checking installable status 19 http fetch GET 200 https://registry.npmjs.org/stream-from-to 40ms (from cache) 20 silly pacote range manifest for stream-from-to@^1.4.2 fetched in 41ms 21 silly resolveWithNewModule [email protected] checking installable status 22 http fetch GET 304 https://registry.npmjs.org/duplexer 143ms (from cache) 23 http fetch GET 304 https://registry.npmjs.org/extend 143ms (from cache) 24 http fetch GET 304 https://registry.npmjs.org/phantomjs-prebuilt 143ms (from cache) 25 http fetch GET 304 https://registry.npmjs.org/tmp 141ms (from cache) 26 http fetch GET 304 https://registry.npmjs.org/through2 144ms (from cache) 27 silly pacote range manifest for duplexer@^0.1.1 fetched in 147ms 28 silly resolveWithNewModule [email protected] checking installable status 29 silly pacote range manifest for extend@^3.0.2 fetched in 147ms 30 silly resolveWithNewModule [email protected] checking installable status 31 http fetch GET 304 https://registry.npmjs.org/highlight.js 148ms (from cache) 32 http fetch GET 304 https://registry.npmjs.org/commander 150ms (from cache) 33 http fetch GET 304 https://registry.npmjs.org/remarkable 148ms (from cache) 34 silly pacote range manifest for tmp@^0.1.0 fetched in 146ms 35 silly resolveWithNewModule [email protected] checking installable status 36 silly pacote range manifest for phantomjs-prebuilt@^2.1.3 fetched in 150ms 37 warn deprecated [email protected]: this package is now deprecated 38 silly resolveWithNewModule [email protected] checking installable status 39 silly pacote range manifest for through2@^3.0.1 fetched in 151ms 40 silly resolveWithNewModule [email protected] checking installable status 41 silly pacote range manifest for commander@^3.0.0 fetched in 155ms 42 silly resolveWithNewModule [email protected] checking installable status 43 silly pacote range manifest for highlight.js@^9.15.9 fetched in 156ms 44 silly resolveWithNewModule [email protected] checking installable status 45 silly pacote range manifest for remarkable@^2.0.0 fetched in 155ms 46 silly resolveWithNewModule [email protected] checking installable status 47 http fetch GET 304 https://registry.npmjs.org/es6-promise 66ms (from cache) 48 http fetch GET 304 https://registry.npmjs.org/hasha 68ms (from cache) 49 silly pacote range manifest for es6-promise@^4.0.3 fetched in 70ms 50 silly resolveWithNewModule [email protected] checking installable status 51 http fetch GET 304 https://registry.npmjs.org/kew 71ms (from cache) 52 http fetch GET 304 https://registry.npmjs.org/progress 70ms (from cache) 53 silly pacote range manifest for hasha@^2.2.0 fetched in 73ms 54 silly resolveWithNewModule [email protected] checking installable status 55 http fetch GET 304 https://registry.npmjs.org/fs-extra 75ms (from cache) 56 http fetch GET 304 https://registry.npmjs.org/extract-zip 76ms (from cache) 57 silly pacote range manifest for kew@^0.7.0 fetched in 75ms 58 silly resolveWithNewModule [email protected] checking installable status 59 http fetch GET 304 https://registry.npmjs.org/request-progress 74ms (from cache) 60 silly pacote range manifest for progress@^1.1.8 fetched in 78ms 61 silly resolveWithNewModule [email protected] checking installable status 62 silly pacote range manifest for extract-zip@^1.6.5 fetched in 80ms 63 silly resolveWithNewModule [email protected] checking installable status 64 silly pacote range manifest for fs-extra@^1.0.0 fetched in 80ms 65 silly resolveWithNewModule [email protected] checking installable status 66 silly pacote range manifest for request-progress@^2.0.1 fetched in 77ms 67 silly resolveWithNewModule [email protected] checking installable status 68 http fetch GET 304 https://registry.npmjs.org/which 76ms (from cache) 69 http fetch GET 304 https://registry.npmjs.org/request 78ms (from cache) 70 silly pacote range manifest for which@^1.2.10 fetched in 80ms 71 silly resolveWithNewModule [email protected] checking installable status 72 silly pacote range manifest for request@^2.81.0 fetched in 81ms 73 warn deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142 74 silly resolveWithNewModule [email protected] checking installable status 75 http fetch GET 304 https://registry.npmjs.org/yauzl 91ms (from cache) 76 http fetch GET 304 https://registry.npmjs.org/concat-stream 92ms (from cache) 77 silly pacote version manifest for [email protected] fetched in 92ms 78 silly resolveWithNewModule [email protected] checking installable status 79 silly pacote version manifest for [email protected] fetched in 94ms 80 silly resolveWithNewModule [email protected] checking installable status 81 http fetch GET 304 https://registry.npmjs.org/debug 93ms (from cache) 82 silly pacote version manifest for [email protected] fetched in 94ms 83 silly resolveWithNewModule [email protected] checking installable status 84 http fetch GET 304 https://registry.npmjs.org/mkdirp 250ms (from cache) 85 silly pacote version manifest for [email protected] fetched in 251ms 86 silly resolveWithNewModule [email protected] checking installable status 87 http fetch GET 304 https://registry.npmjs.org/buffer-from 26ms (from cache) 88 silly pacote range manifest for buffer-from@^1.0.0 fetched in 27ms 89 silly resolveWithNewModule [email protected] checking installable status 90 http fetch GET 304 https://registry.npmjs.org/inherits 40ms (from cache) 91 http fetch GET 304 https://registry.npmjs.org/typedarray 40ms (from cache) 92 silly pacote range manifest for inherits@^2.0.3 fetched in 41ms 93 silly resolveWithNewModule [email protected] checking installable status 94 silly pacote range manifest for typedarray@^0.0.6 fetched in 41ms 95 silly resolveWithNewModule [email protected] checking installable status 96 http fetch GET 304 https://registry.npmjs.org/readable-stream 42ms (from cache) 97 silly pacote range manifest for readable-stream@^2.2.2 fetched in 44ms 98 silly resolveWithNewModule [email protected] checking installable status 99 http fetch GET 304 https://registry.npmjs.org/core-util-is 44ms (from cache) 100 silly pacote range manifest for core-util-is@~1.0.0 fetched in 46ms 101 silly resolveWithNewModule [email protected] checking installable status 102 http fetch GET 304 https://registry.npmjs.org/util-deprecate 49ms (from cache) 103 http fetch GET 304 https://registry.npmjs.org/isarray 50ms (from cache) 104 http fetch GET 304 https://registry.npmjs.org/string_decoder 51ms (from cache) 105 silly pacote range manifest for util-deprecate@~1.0.1 fetched in 52ms 106 silly resolveWithNewModule [email protected] checking installable status 107 silly pacote range manifest for isarray@~1.0.0 fetched in 54ms 108 silly resolveWithNewModule [email protected] checking installable status 109 silly pacote range manifest for string_decoder@~1.1.1 fetched in 55ms 110 silly resolveWithNewModule [email protected] checking installable status 111 http fetch GET 304 https://registry.npmjs.org/safe-buffer 62ms (from cache) 112 http fetch GET 304 https://registry.npmjs.org/process-nextick-args 63ms (from cache) 113 silly pacote range manifest for safe-buffer@~5.1.1 fetched in 64ms 114 silly resolveWithNewModule [email protected] checking installable status 115 silly pacote range manifest for process-nextick-args@~2.0.0 fetched in 64ms 116 silly resolveWithNewModule [email protected] checking installable status 117 http fetch GET 304 https://registry.npmjs.org/ms 37ms (from cache) 118 silly pacote version manifest for [email protected] fetched in 39ms 119 silly resolveWithNewModule [email protected] checking installable status 120 http fetch GET 304 https://registry.npmjs.org/minimist 26ms (from cache) 121 silly pacote version manifest for [email protected] fetched in 28ms 122 silly resolveWithNewModule [email protected] checking installable status 123 http fetch GET 304 https://registry.npmjs.org/fd-slicer 25ms (from cache) 124 silly pacote range manifest for fd-slicer@~1.0.1 fetched in 26ms 125 silly resolveWithNewModule [email protected] checking installable status 126 http fetch GET 304 https://registry.npmjs.org/pend 33ms (from cache) 127 silly pacote range manifest for pend@~1.2.0 fetched in 34ms 128 silly resolveWithNewModule [email protected] checking installable status 129 http fetch GET 304 https://registry.npmjs.org/graceful-fs 40ms (from cache) 130 silly pacote range manifest for graceful-fs@^4.1.2 fetched in 43ms 131 silly resolveWithNewModule [email protected] checking installable status 132 http fetch GET 304 https://registry.npmjs.org/klaw 44ms (from cache) 133 silly pacote range manifest for klaw@^1.0.0 fetched in 45ms 134 silly resolveWithNewModule [email protected] checking installable status 135 http fetch GET 304 https://registry.npmjs.org/jsonfile 46ms (from cache) 136 silly pacote range manifest for jsonfile@^2.1.0 fetched in 47ms 137 silly resolveWithNewModule [email protected] checking installable status 138 http fetch GET 304 https://registry.npmjs.org/pinkie-promise 40ms (from cache) 139 http fetch GET 304 https://registry.npmjs.org/is-stream 42ms (from cache) 140 silly pacote range manifest for pinkie-promise@^2.0.0 fetched in 42ms 141 silly resolveWithNewModule [email protected] checking installable status 142 silly pacote range manifest for is-stream@^1.0.1 fetched in 43ms 143 silly resolveWithNewModule [email protected] checking installable status 144 http fetch GET 304 https://registry.npmjs.org/pinkie 41ms (from cache) 145 silly pacote range manifest for pinkie@^2.0.0 fetched in 42ms 146 silly resolveWithNewModule [email protected] checking installable status 147 http fetch GET 304 https://registry.npmjs.org/combined-stream 54ms (from cache) 148 http fetch GET 304 https://registry.npmjs.org/caseless 57ms (from cache) 149 silly pacote range manifest for combined-stream@~1.0.6 fetched in 61ms 150 silly resolveWithNewModule [email protected] checking installable status 151 silly pacote range manifest for caseless@~0.12.0 fetched in 63ms 152 silly resolveWithNewModule [email protected] checking installable status 153 http fetch GET 304 https://registry.npmjs.org/aws4 64ms (from cache) 154 http fetch GET 304 https://registry.npmjs.org/form-data 64ms (from cache) 155 http fetch GET 304 https://registry.npmjs.org/forever-agent 66ms (from cache) 156 silly pacote range manifest for aws4@^1.8.0 fetched in 70ms 157 silly resolveWithNewModule [email protected] checking installable status 158 silly pacote range manifest for form-data@~2.3.2 fetched in 70ms 159 silly resolveWithNewModule [email protected] checking installable status 160 silly pacote range manifest for forever-agent@~0.6.1 fetched in 71ms 161 silly resolveWithNewModule [email protected] checking installable status 162 http fetch GET 304 https://registry.npmjs.org/aws-sign2 78ms (from cache) 163 http fetch GET 304 https://registry.npmjs.org/har-validator 76ms (from cache) 164 http fetch GET 304 https://registry.npmjs.org/http-signature 78ms (from cache) 165 http fetch GET 304 https://registry.npmjs.org/isstream 77ms (from cache) 166 silly pacote range manifest for aws-sign2@~0.7.0 fetched in 81ms 167 silly resolveWithNewModule [email protected] checking installable status 168 silly pacote range manifest for har-validator@~5.1.3 fetched in 79ms 169 silly resolveWithNewModule [email protected] checking installable status 170 silly pacote range manifest for isstream@~0.1.2 fetched in 79ms 171 silly resolveWithNewModule [email protected] checking installable status 172 silly pacote range manifest for http-signature@~1.2.0 fetched in 81ms 173 silly resolveWithNewModule [email protected] checking installable status 174 http fetch GET 304 https://registry.npmjs.org/is-typedarray 82ms (from cache) 175 silly pacote range manifest for is-typedarray@~1.0.0 fetched in 85ms 176 silly resolveWithNewModule [email protected] checking installable status 177 http fetch GET 304 https://registry.npmjs.org/mime-types 29ms (from cache) 178 silly pacote range manifest for mime-types@~2.1.19 fetched in 32ms 179 silly resolveWithNewModule [email protected] checking installable status 180 http fetch GET 304 https://registry.npmjs.org/json-stringify-safe 36ms (from cache) 181 silly pacote range manifest for json-stringify-safe@~5.0.1 fetched in 38ms 182 silly resolveWithNewModule [email protected] checking installable status 183 http fetch GET 304 https://registry.npmjs.org/qs 35ms (from cache) 184 silly pacote range manifest for qs@~6.5.2 fetched in 39ms 185 silly resolveWithNewModule [email protected] checking installable status 186 http fetch GET 304 https://registry.npmjs.org/performance-now 41ms (from cache) 187 http fetch GET 304 https://registry.npmjs.org/oauth-sign 44ms (from cache) 188 http fetch GET 304 https://registry.npmjs.org/tunnel-agent 34ms (from cache) 189 silly pacote range manifest for performance-now@^2.1.0 fetched in 43ms 190 silly resolveWithNewModule [email protected] checking installable status 191 silly pacote range manifest for oauth-sign@~0.9.0 fetched in 46ms 192 silly resolveWithNewModule [email protected] checking installable status 193 silly pacote range manifest for tunnel-agent@^0.6.0 fetched in 36ms 194 silly resolveWithNewModule [email protected] checking installable status 195 http fetch GET 304 https://registry.npmjs.org/tough-cookie 36ms (from cache) 196 silly pacote range manifest for tough-cookie@~2.5.0 fetched in 37ms 197 silly resolveWithNewModule [email protected] checking installable status 198 http fetch GET 304 https://registry.npmjs.org/uuid 38ms (from cache) 199 silly pacote range manifest for uuid@^3.3.2 fetched in 39ms 200 silly resolveWithNewModule [email protected] checking installable status 201 http fetch GET 304 https://registry.npmjs.org/delayed-stream 28ms (from cache) 202 silly pacote range manifest for delayed-stream@~1.0.0 fetched in 30ms 203 silly resolveWithNewModule [email protected] checking installable status 204 http fetch GET 304 https://registry.npmjs.org/asynckit 30ms (from cache) 205 silly pacote range manifest for asynckit@^0.4.0 fetched in 31ms 206 silly resolveWithNewModule [email protected] checking installable status 207 http fetch GET 304 https://registry.npmjs.org/mime-db 34ms (from cache) 208 silly pacote version manifest for [email protected] fetched in 38ms 209 silly resolveWithNewModule [email protected] checking installable status 210 http fetch GET 304 https://registry.npmjs.org/har-schema 39ms (from cache) 211 silly pacote range manifest for har-schema@^2.0.0 fetched in 40ms 212 silly resolveWithNewModule [email protected] checking installable status 213 http fetch GET 304 https://registry.npmjs.org/ajv 42ms (from cache) 214 silly pacote range manifest for ajv@^6.5.5 fetched in 46ms 215 silly resolveWithNewModule [email protected] checking installable status 216 http fetch GET 304 https://registry.npmjs.org/fast-deep-equal 34ms (from cache) 217 silly pacote range manifest for fast-deep-equal@^3.1.1 fetched in 36ms 218 silly resolveWithNewModule [email protected] checking installable status 219 http fetch GET 304 https://registry.npmjs.org/uri-js 37ms (from cache) 220 silly pacote range manifest for uri-js@^4.2.2 fetched in 40ms 221 silly resolveWithNewModule [email protected] checking installable status 222 http fetch GET 304 https://registry.npmjs.org/fast-json-stable-stringify 43ms (from cache) 223 silly pacote range manifest for fast-json-stable-stringify@^2.0.0 fetched in 44ms 224 silly resolveWithNewModule [email protected] checking installable status 225 http fetch GET 304 https://registry.npmjs.org/json-schema-traverse 45ms (from cache) 226 silly pacote range manifest for json-schema-traverse@^0.4.1 fetched in 46ms 227 silly resolveWithNewModule [email protected] checking installable status 228 http fetch GET 304 https://registry.npmjs.org/punycode 35ms (from cache) 229 silly pacote range manifest for punycode@^2.1.0 fetched in 37ms 230 silly resolveWithNewModule [email protected] checking installable status 231 http fetch GET 304 https://registry.npmjs.org/jsprim 36ms (from cache) 232 http fetch GET 304 https://registry.npmjs.org/assert-plus 37ms (from cache) 233 silly pacote range manifest for jsprim@^1.2.2 fetched in 37ms 234 silly resolveWithNewModule [email protected] checking installable status 235 silly pacote range manifest for assert-plus@^1.0.0 fetched in 39ms 236 silly resolveWithNewModule [email protected] checking installable status 237 http fetch GET 304 https://registry.npmjs.org/sshpk 46ms (from cache) 238 silly pacote range manifest for sshpk@^1.7.0 fetched in 48ms 239 silly resolveWithNewModule [email protected] checking installable status 240 http fetch GET 304 https://registry.npmjs.org/verror 31ms (from cache) 241 silly pacote version manifest for [email protected] fetched in 34ms 242 silly resolveWithNewModule [email protected] checking installable status 243 http fetch GET 304 https://registry.npmjs.org/json-schema 36ms (from cache) 244 silly pacote version manifest for [email protected] fetched in 37ms 245 silly resolveWithNewModule [email protected] checking installable status 246 http fetch GET 304 https://registry.npmjs.org/extsprintf 52ms (from cache) 247 silly pacote version manifest for [email protected] fetched in 53ms 248 silly resolveWithNewModule [email protected] checking installable status 249 http fetch GET 304 https://registry.npmjs.org/safer-buffer 38ms (from cache) 250 silly pacote range manifest for safer-buffer@^2.0.2 fetched in 40ms 251 silly resolveWithNewModule [email protected] checking installable status 252 http fetch GET 304 https://registry.npmjs.org/bcrypt-pbkdf 40ms (from cache) 253 http fetch GET 304 https://registry.npmjs.org/asn1 42ms (from cache) 254 http fetch GET 304 https://registry.npmjs.org/ecc-jsbn 41ms (from cache) 255 http fetch GET 304 https://registry.npmjs.org/getpass 42ms (from cache) 256 http fetch GET 304 https://registry.npmjs.org/dashdash 43ms (from cache) 257 silly pacote range manifest for bcrypt-pbkdf@^1.0.0 fetched in 43ms 258 silly resolveWithNewModule [email protected] checking installable status 259 silly pacote range manifest for asn1@~0.2.3 fetched in 45ms 260 silly resolveWithNewModule [email protected] checking installable status 261 silly pacote range manifest for ecc-jsbn@~0.1.1 fetched in 43ms 262 silly resolveWithNewModule [email protected] checking installable status 263 silly pacote range manifest for getpass@^0.1.1 fetched in 46ms 264 silly resolveWithNewModule [email protected] checking installable status 265 silly pacote range manifest for dashdash@^1.12.0 fetched in 46ms 266 silly resolveWithNewModule [email protected] checking installable status 267 http fetch GET 304 https://registry.npmjs.org/tweetnacl 46ms (from cache) 268 silly pacote range manifest for tweetnacl@~0.14.0 fetched in 49ms 269 silly resolveWithNewModule [email protected] checking installable status 270 http fetch GET 304 https://registry.npmjs.org/jsbn 50ms (from cache) 271 silly pacote range manifest for jsbn@~0.1.0 fetched in 52ms 272 silly resolveWithNewModule [email protected] checking installable status 273 http fetch GET 304 https://registry.npmjs.org/psl 25ms (from cache) 274 silly pacote range manifest for psl@^1.1.28 fetched in 27ms 275 silly resolveWithNewModule [email protected] checking installable status 276 http fetch GET 304 https://registry.npmjs.org/throttleit 26ms (from cache) 277 silly pacote range manifest for throttleit@^1.0.0 fetched in 27ms 278 silly resolveWithNewModule [email protected] checking installable status 279 http fetch GET 304 https://registry.npmjs.org/isexe 21ms (from cache) 280 silly pacote range manifest for isexe@^2.0.0 fetched in 22ms 281 silly resolveWithNewModule [email protected] checking installable status 282 http fetch GET 304 https://registry.npmjs.org/argparse 24ms (from cache) 283 silly pacote range manifest for argparse@^1.0.10 fetched in 26ms 284 silly resolveWithNewModule [email protected] checking installable status 285 http fetch GET 304 https://registry.npmjs.org/autolinker 31ms (from cache) 286 silly pacote range manifest for autolinker@^3.11.0 fetched in 34ms 287 silly resolveWithNewModule [email protected] checking installable status 288 http fetch GET 304 https://registry.npmjs.org/sprintf-js 35ms (from cache) 289 silly pacote range manifest for sprintf-js@~1.0.2 fetched in 37ms 290 silly resolveWithNewModule [email protected] checking installable status 291 http fetch GET 304 https://registry.npmjs.org/tslib 32ms (from cache) 292 silly pacote range manifest for tslib@^1.9.3 fetched in 34ms 293 silly resolveWithNewModule [email protected] checking installable status 294 http fetch GET 200 https://registry.npmjs.org/series-stream 4ms (from cache) 295 silly pacote range manifest for series-stream@^1.0.1 fetched in 5ms 296 silly resolveWithNewModule [email protected] checking installable status 297 http fetch GET 304 https://registry.npmjs.org/async 30ms (from cache) 298 silly pacote range manifest for async@^1.5.2 fetched in 34ms 299 silly resolveWithNewModule [email protected] checking installable status 300 http fetch GET 304 https://registry.npmjs.org/rimraf 27ms (from cache) 301 silly pacote range manifest for rimraf@^2.6.3 fetched in 29ms 302 silly resolveWithNewModule [email protected] checking installable status 303 http fetch GET 304 https://registry.npmjs.org/glob 41ms (from cache) 304 silly pacote range manifest for glob@^7.1.3 fetched in 44ms 305 silly resolveWithNewModule [email protected] checking installable status 306 http fetch GET 304 https://registry.npmjs.org/minimatch 35ms (from cache) 307 http fetch GET 304 https://registry.npmjs.org/inflight 36ms (from cache) 308 silly pacote range manifest for minimatch@^3.0.4 fetched in 36ms 309 silly resolveWithNewModule [email protected] checking installable status 310 silly pacote range manifest for inflight@^1.0.4 fetched in 37ms 311 silly resolveWithNewModule [email protected] checking installable status 312 http fetch GET 304 https://registry.npmjs.org/once 39ms (from cache) 313 http fetch GET 304 https://registry.npmjs.org/path-is-absolute 40ms (from cache) 314 http fetch GET 304 https://registry.npmjs.org/fs.realpath 40ms (from cache) 315 silly pacote range manifest for once@^1.3.0 fetched in 40ms 316 silly resolveWithNewModule [email protected] checking installable status 317 silly pacote range manifest for path-is-absolute@^1.0.0 fetched in 41ms 318 silly resolveWithNewModule [email protected] checking installable status 319 silly pacote range manifest for fs.realpath@^1.0.0 fetched in 41ms 320 silly resolveWithNewModule [email protected] checking installable status 321 http fetch GET 304 https://registry.npmjs.org/wrappy 31ms (from cache) 322 silly pacote range manifest for wrappy@1 fetched in 32ms 323 silly resolveWithNewModule [email protected] checking installable status 324 http fetch GET 304 https://registry.npmjs.org/brace-expansion 24ms (from cache) 325 silly pacote range manifest for brace-expansion@^1.1.7 fetched in 25ms 326 silly resolveWithNewModule [email protected] checking installable status 327 http fetch GET 304 https://registry.npmjs.org/balanced-match 38ms (from cache) 328 http fetch GET 304 https://registry.npmjs.org/concat-map 37ms (from cache) 329 silly pacote range manifest for balanced-match@^1.0.0 fetched in 39ms 330 silly resolveWithNewModule [email protected] checking installable status 331 silly pacote version manifest for [email protected] fetched in 39ms 332 silly resolveWithNewModule [email protected] checking installable status 333 silly currentTree lib 334 silly idealTree lib 334 silly idealTree └─┬ [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree ├── [email protected] 334 silly idealTree └── [email protected] 335 silly install generateActionsToTake 336 warn checkPermissions Missing write access to /usr/local/lib 337 verbose stack Error: EACCES: permission denied, access '/usr/local/lib' 338 verbose cwd /home/kunzseverin 339 verbose Linux 5.0.0-38-generic 340 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "-g" "markdown-pdf" 341 verbose node v10.15.2 342 verbose npm v5.8.0 343 error path /usr/local/lib 344 error code EACCES 345 error errno -13 346 error syscall access 347 error Error: EACCES: permission denied, access '/usr/local/lib' 347 error { [Error: EACCES: permission denied, access '/usr/local/lib'] 347 error stack: 347 error 'Error: EACCES: permission denied, access '/usr/local/lib'', 347 error errno: -13, 347 error code: 'EACCES', 347 error syscall: 'access', 347 error path: '/usr/local/lib' } 348 error The operation was rejected by your operating system. 348 error It is likely you do not have the permissions to access this file as the current user 348 error 348 error If you believe this might be a permissions issue, please double-check the 348 error permissions of the file and its containing directories, or try running 348 error the command again as root/Administrator (though this is not recommended). 349 verbose exit [ -13, true ]

sevku avatar Mar 12 '20 18:03 sevku

The clue is in some of the first log messages:

npm WARN checkPermissions Missing write access to /usr/local/lib

npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'

The user you are running npm as doesn't have permission to access /usr/local/lib. This is a common issue people run into when trying to install packages globally ( npm install -g ... )

This helpful post offers an explanation of the problem you are having as well as some possible solutions. It is also the first result when you google 'EACCES node'.

EACCES is an error code from a linux system call. In this case, the kernel is saying "Nope, you don't have permission to create a file in that folder"

I know big log messages can be intimidating. Just take them line by line and try googling some key phrases. That is how I learned and it has served me well.

Best of luck!

jeremy21212121 avatar Mar 13 '20 02:03 jeremy21212121

Indeed, I had no idea where to start, thanks for the clue.

sevku avatar Mar 15 '20 05:03 sevku