Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.10
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
share /
npm /
lib /
utils /
[ HOME SHELL ]
Name
Size
Permission
Action
completion
[ DIR ]
drwxr-xr-x
ansi-trim.js
211
B
-rw-r--r--
child-path.js
290
B
-rw-r--r--
completion.sh
1.73
KB
-rw-r--r--
correct-mkdir.js
3.04
KB
-rw-r--r--
deep-sort-object.js
363
B
-rw-r--r--
depr-check.js
451
B
-rw-r--r--
did-you-mean.js
495
B
-rw-r--r--
error-handler.js
6.15
KB
-rw-r--r--
error-message.js
11.54
KB
-rw-r--r--
escape-arg.js
673
B
-rw-r--r--
escape-exec-path.js
777
B
-rw-r--r--
gently-rm.js
484
B
-rw-r--r--
get-publish-config.js
919
B
-rw-r--r--
git.js
1.26
KB
-rw-r--r--
gunzip-maybe.js
552
B
-rw-r--r--
is-registry.js
295
B
-rw-r--r--
is-windows-bash.js
129
B
-rw-r--r--
is-windows-shell.js
153
B
-rw-r--r--
is-windows.js
59
B
-rw-r--r--
lifecycle-cmd.js
496
B
-rw-r--r--
lifecycle.js
364
B
-rw-r--r--
link.js
234
B
-rw-r--r--
locker.js
1.81
KB
-rw-r--r--
map-to-registry.js
2.79
KB
-rw-r--r--
metrics-launch.js
1.05
KB
-rw-r--r--
metrics.js
2.03
KB
-rw-r--r--
module-name.js
935
B
-rw-r--r--
move.js
290
B
-rw-r--r--
no-progress-while-running.js
541
B
-rw-r--r--
output.js
210
B
-rw-r--r--
package-id.js
399
B
-rw-r--r--
parse-json.js
663
B
-rw-r--r--
perf.js
562
B
-rw-r--r--
pick-manifest-from-registry-me...
905
B
-rw-r--r--
pulse-till-done.js
783
B
-rw-r--r--
read-local-package.js
329
B
-rw-r--r--
read-user-info.js
1.75
KB
-rw-r--r--
replace-info.js
552
B
-rw-r--r--
save-stack.js
349
B
-rw-r--r--
spawn.js
1.38
KB
-rw-r--r--
stringify-package.js
328
B
-rw-r--r--
temp-filename.js
173
B
-rw-r--r--
umask.js
343
B
-rw-r--r--
unix-format-path.js
85
B
-rw-r--r--
unsupported.js
2.21
KB
-rw-r--r--
usage.js
576
B
-rw-r--r--
warn-deprecated.js
556
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : error-message.js
'use strict' var npm = require('../npm.js') var util = require('util') var nameValidator = require('validate-npm-package-name') var replaceInfo = require('./replace-info.js') module.exports = errorMessage function errorMessage (er) { var short = [] var detail = [] er.message = replaceInfo(er.message) er.stack = replaceInfo(er.stack) switch (er.code) { case 'ECONNREFUSED': short.push(['', er]) detail.push([ '', [ '\nIf you are behind a proxy, please make sure that the', "'proxy' config is set properly. See: 'npm help config'" ].join('\n') ]) break case 'EACCES': case 'EPERM': short.push(['', er]) detail.push([ '', [ '\nThe operation was rejected by your operating system.', (process.platform === 'win32' ? 'It\'s possible that the file was already in use (by a text editor or antivirus),\nor that you lack permissions to access it.' : 'It is likely you do not have the permissions to access this file as the current user'), '\nIf you believe this might be a permissions issue, please double-check the', 'permissions of the file and its containing directories, or try running', 'the command again as root/Administrator (though this is not recommended).' ].join('\n')]) break case 'ELIFECYCLE': short.push(['', er.message]) detail.push([ '', [ '', 'Failed at the ' + er.pkgid + ' ' + er.stage + ' script.', 'This is probably not a problem with npm. There is likely additional logging output above.' ].join('\n')] ) break case 'ENOGIT': short.push(['', er.message]) detail.push([ '', [ '', 'Failed using git.', 'Please check if you have git installed and in your PATH.' ].join('\n') ]) break case 'EJSONPARSE': const path = require('path') // Check whether we ran into a conflict in our own package.json if (er.file === path.join(npm.prefix, 'package.json')) { const isDiff = require('../install/read-shrinkwrap.js')._isDiff const txt = require('fs').readFileSync(er.file, 'utf8') if (isDiff(txt)) { detail.push([ '', [ 'Merge conflict detected in your package.json.', '', 'Please resolve the package.json conflict and retry the command:', '', `$ ${process.argv.join(' ')}` ].join('\n') ]) break } } short.push(['', er.message]) short.push(['', 'File: ' + er.file]) detail.push([ '', [ 'Failed to parse package.json data.', 'package.json must be actual JSON, not just JavaScript.', '', 'Tell the package author to fix their package.json file.' ].join('\n'), 'JSON.parse' ]) break case 'EOTP': case 'E401': // the E401 message checking is a hack till we replace npm-registry-client with something // OTP aware. if (er.code === 'EOTP' || (er.code === 'E401' && /one-time pass/.test(er.message))) { short.push(['', 'This operation requires a one-time password from your authenticator.']) detail.push([ '', [ 'You can provide a one-time password by passing --otp=<code> to the command you ran.', 'If you already provided a one-time password then it is likely that you either typoed', 'it, or it timed out. Please try again.' ].join('\n') ]) break } else { // npm ERR! code E401 // npm ERR! Unable to authenticate, need: Basic if (er.headers && er.headers['www-authenticate']) { const auth = er.headers['www-authenticate'].map((au) => au.split(/,\s*/))[0] || [] if (auth.indexOf('Bearer') !== -1) { short.push(['', 'Unable to authenticate, your authentication token seems to be invalid.']) detail.push([ '', [ 'To correct this please trying logging in again with:', ' npm login' ].join('\n') ]) break } else if (auth.indexOf('Basic') !== -1) { short.push(['', 'Incorrect or missing password.']) detail.push([ '', [ 'If you were trying to login, change your password, create an', 'authentication token or enable two-factor authentication then', 'that means you likely typed your password in incorrectly.', 'Please try again, or recover your password at:', ' https://www.npmjs.com/forgot', '', 'If you were doing some other operation then your saved credentials are', 'probably out of date. To correct this please try logging in again with:', ' npm login' ].join('\n') ]) break } } } case 'E404': // There's no need to have 404 in the message as well. var msg = er.message.replace(/^404\s+/, '') short.push(['404', msg]) if (er.pkgid && er.pkgid !== '-') { detail.push(['404', '']) detail.push(['404', '', "'" + er.pkgid + "' is not in the npm registry."]) var valResult = nameValidator(er.pkgid) if (valResult.validForNewPackages) { detail.push(['404', 'You should bug the author to publish it (or use the name yourself!)']) } else { detail.push(['404', 'Your package name is not valid, because', '']) var errorsArray = (valResult.errors || []).concat(valResult.warnings || []) errorsArray.forEach(function (item, idx) { detail.push(['404', ' ' + (idx + 1) + '. ' + item]) }) } if (er.parent) { detail.push(['404', "It was specified as a dependency of '" + er.parent + "'"]) } detail.push(['404', '\nNote that you can also install from a']) detail.push(['404', 'tarball, folder, http url, or git url.']) } break case 'EPUBLISHCONFLICT': short.push(['publish fail', 'Cannot publish over existing version.']) detail.push(['publish fail', "Update the 'version' field in package.json and try again."]) detail.push(['publish fail', '']) detail.push(['publish fail', 'To automatically increment version numbers, see:']) detail.push(['publish fail', ' npm help version']) break case 'EISGIT': short.push(['git', er.message]) short.push(['git', ' ' + er.path]) detail.push([ 'git', [ 'Refusing to remove it. Update manually,', 'or move it out of the way first.' ].join('\n') ]) break case 'ECYCLE': short.push([ 'cycle', [ er.message, 'While installing: ' + er.pkgid ].join('\n') ]) detail.push([ 'cycle', [ 'Found a pathological dependency case that npm cannot solve.', 'Please report this to the package author.' ].join('\n') ]) break case 'EBADPLATFORM': var validOs = er.os.join ? er.os.join(',') : er.os var validArch = er.cpu.join ? er.cpu.join(',') : er.cpu var expected = {os: validOs, arch: validArch} var actual = {os: process.platform, arch: process.arch} short.push([ 'notsup', [ util.format('Unsupported platform for %s: wanted %j (current: %j)', er.pkgid, expected, actual) ].join('\n') ]) detail.push([ 'notsup', [ 'Valid OS: ' + validOs, 'Valid Arch: ' + validArch, 'Actual OS: ' + process.platform, 'Actual Arch: ' + process.arch ].join('\n') ]) break case 'EEXIST': short.push(['', er.message]) short.push(['', 'File exists: ' + er.path]) detail.push(['', 'Move it away, and try again.']) break case 'ENEEDAUTH': short.push(['need auth', er.message]) detail.push(['need auth', 'You need to authorize this machine using `npm adduser`']) break case 'ECONNRESET': case 'ENOTFOUND': case 'ETIMEDOUT': case 'EAI_FAIL': short.push(['network', er.message]) detail.push([ 'network', [ 'This is a problem related to network connectivity.', 'In most cases you are behind a proxy or have bad network settings.', '\nIf you are behind a proxy, please make sure that the', "'proxy' config is set properly. See: 'npm help config'" ].join('\n') ]) break case 'ENOPACKAGEJSON': short.push(['package.json', er.message]) detail.push([ 'package.json', [ "npm can't find a package.json file in your current directory." ].join('\n') ]) break case 'ETARGET': short.push(['notarget', er.message]) msg = [ 'In most cases you or one of your dependencies are requesting', "a package version that doesn't exist." ] if (er.parent) { msg.push("\nIt was specified as a dependency of '" + er.parent + "'\n") } detail.push(['notarget', msg.join('\n')]) break case 'ENOTSUP': if (er.required) { short.push(['notsup', er.message]) short.push(['notsup', 'Not compatible with your version of node/npm: ' + er.pkgid]) detail.push([ 'notsup', [ 'Not compatible with your version of node/npm: ' + er.pkgid, 'Required: ' + JSON.stringify(er.required), 'Actual: ' + JSON.stringify({ npm: npm.version, node: npm.config.get('node-version') }) ].join('\n') ]) break } // else passthrough /*eslint no-fallthrough:0*/ case 'ENOSPC': short.push(['nospc', er.message]) detail.push([ 'nospc', [ 'There appears to be insufficient space on your system to finish.', 'Clear up some disk space and try again.' ].join('\n') ]) break case 'EROFS': short.push(['rofs', er.message]) detail.push([ 'rofs', [ 'Often virtualized file systems, or other file systems', "that don't support symlinks, give this error." ].join('\n') ]) break case 'ENOENT': short.push(['enoent', er.message]) detail.push([ 'enoent', [ 'This is related to npm not being able to find a file.', er.file ? "\nCheck if the file '" + er.file + "' is present." : '' ].join('\n') ]) break case 'EMISSINGARG': case 'EUNKNOWNTYPE': case 'EINVALIDTYPE': case 'ETOOMANYARGS': short.push(['typeerror', er.stack]) detail.push([ 'typeerror', [ 'This is an error with npm itself. Please report this error at:', ' <https://github.com/npm/npm/issues>' ].join('\n') ]) break default: short.push(['', er.message || er]) break } if (er.optional) { short.unshift(['optional', er.optional + ' (' + er.location + '):']) short.concat(detail).forEach(function (msg) { if (!msg[0]) msg[0] = 'optional' if (msg[1]) msg[1] = msg[1].toString().replace(/(^|\n)/g, '$1SKIPPING OPTIONAL DEPENDENCY: ') }) } return {summary: short, detail: detail} }
Close