Skip to content

[BUG] Error: Missing required argument #1 on Linux Mint, 5.3.0-59-generic Kernal #1456

@msglm

Description

@msglm

What / Why

When using npm install, the installer fails with the following error

npm ERR! typeerror Error: Missing required argument #1
npm ERR! typeerror     at andLogAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:31:3)
npm ERR! typeerror     at fetchPackageMetadata (/usr/share/npm/lib/fetch-package-metadata.js:51:22)
npm ERR! typeerror     at resolveWithNewModule (/usr/share/npm/lib/install/deps.js:456:12)
npm ERR! typeerror     at /usr/share/npm/lib/install/deps.js:457:7
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror     at /usr/share/npm/lib/fetch-package-metadata.js:37:12
npm ERR! typeerror     at addRequestedAndFinish (/usr/share/npm/lib/fetch-package-metadata.js:82:5)
npm ERR! typeerror     at returnAndAddMetadata (/usr/share/npm/lib/fetch-package-metadata.js:117:7)
npm ERR! typeerror     at pickVersionFromRegistryDocument (/usr/share/npm/lib/fetch-package-metadata.js:134:20)
npm ERR! typeerror     at /usr/share/npm/node_modules/iferr/index.js:13:50
npm ERR! typeerror This is an error with npm itself. Please report this error at:
npm ERR! typeerror     <http://github.com/npm/npm/issues>

When

  • Anytime upon install

Where

*I do not understand the requested info, only worked with npm for building software.

Current Behavior

type in npm install
crash with already posted error

  • n/a

Steps to Reproduce

Run Linux Mint 19.3 Tricia x86_64 with 5.3.0-59-generic Kernal.
Run npm install (https://github.com/Nicklason/tf2-automatic specifically on this, doubt this is relavent, but good to know if the problem is a false positive for being npm's fault)
wait for it to crash

Expected Behavior

  • installing of modules, im not too savy with this and do not understand how it should work or what it should do.

npm-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions