Skip to content

[BUG] NPM error when installing package (forever) #608

Closed
@ChrisDTrtl

Description

@ChrisDTrtl

What / Why

Getting an NPM error when I attempt to install the 'forever' package:
npm install forever or npm install forever -g
npm-debug.log file is attached. I'm afraid I likely don't know enough to supply more information with prompting.

ubuntu@ip-172-31-30-230:~/reportingnode/Am
[npm-debug.log](https://github.com/npm/cli/files/3972975/npm-debug.log)
zReportingNode$ npm install forever
npm ERR! Linux 4.15.0-1032-aws
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "forever"
npm ERR! node v8.10.0
npm ERR! npm  v3.5.2
npm ERR! code EMISSINGARG

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>

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/reportingnode/AmzReportingNode/npm-debug.log

When

  • First experienced today, have not updated NPM recently.

Where

  • On ubuntu on AWS EC2 instance

How

Current Behavior

  • Package does not correctly install

Steps to Reproduce

  • Attempt to install package.

Expected Behavior

  • Package should be installed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions