Skip to content

alpha.9 is not properly set up in npm #1435

Closed
@mLaird

Description

@mLaird

Bug, feature request, or proposal:

When I put "@angular2-material": "^2.0.0-alpha.9", in my project's package.json and do an npm outdated depth=0, I get a lengthy npm error report. This happens whether or not the old alpha.8-2 entries are in package.json i.e., in both cases. The error report is:

$ npm outdated --depth=0
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\ node_modules\npm\bin\npm-cli.js" "outdated" "--depth=0"
npm ERR! node v5.0.0
npm ERR! npm v3.3.6
npm ERR! code EMISSINGARG

npm ERR! typeerror Error: Missing required argument #2
npm ERR! typeerror at exports.findRequirement (C:\Program Files\nodejs\node_ modules\npm\lib\install\deps.js:475:3)
npm ERR! typeerror at C:\Program Files\nodejs\node_modules\npm\lib\install\d eps.js:90:19
npm ERR! typeerror at zalgoSafe (C:\Program Files\nodejs\node_modules\npm\no de_modules\dezalgo\dezalgo.js:20:10)
npm ERR! typeerror at finalize (C:\Program Files\nodejs\node_modules\npm\nod e_modules\realize-package-specifier\index.js:37:5)
npm ERR! typeerror at C:\Program Files\nodejs\node_modules\npm\node_modules\ realize-package-specifier\index.js:22:20
npm ERR! typeerror at FSReqWrap.oncomplete (fs.js:82:15)
npm ERR! typeerror This is an error with npm itself. Please report this error at :
npm ERR! typeerror http://github.com/npm/npm/issues

What is the expected behavior?

I should get a standard outdated report showing alpha.9 as MISSING and alpha.9 as Latest available.

What is the current behavior?

I get the above error statement, not the standard npm outdated report.

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