Skip to content

make test-npm in LTS (4.4.3) #6220

@richardlau

Description

@richardlau
  • Version: v4.4.3
  • Platform: Linux drv-aeon 2.6.32-131.12.1.el6.x86_64 deps: update openssl to 1.0.1j #1 SMP Sun Jul 31 16:44:56 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
  • Subsystem: test

make test-npm appears to be broken in LTS (v4.4.3):

I saw #6150 contains a patch to remove the call to test-legacy, so I've applied that patch and now get a different error:

This looks like the test is looking for npm -- Presumably the makefile or tools/test-npm.sh should be adding npm to the path?

I've tried adding test-npm/bin to my PATH, which results in yet another error:

This looks like test-npm/bin/npm is incorrectly resolving npm-cli.js -- I think test-npm/bin/npm is written for an installed Node (i.e. expecting npm to live under a node_modules directory) and not the copy made for the test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    npmIssues and PRs related to the npm client dependency or the npm registry.testIssues and PRs related to the tests.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions