-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
Closed
Labels
npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.testIssues and PRs related to the tests.Issues and PRs related to the tests.
Description
- Version: 4.4.4
- Platform: Linux
- Subsystem: unknown
Running make test
the test test/parallel/test-npm-install.js
fails.
=== release test-npm-install ===
Path: parallel/test-npm-install
assert.js:90
throw new assert.AssertionError({
^
AssertionError: npm install should run without an error
at ChildProcess.handleExit (/home/phw/devel/nodejs4/src/node-v4.4.4/test/parallel/test-npm-install.js:40:10)
at ChildProcess.<anonymous> (/home/phw/devel/nodejs4/src/node-v4.4.4/test/common.js:385:15)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
Command: out/Release/node /home/phw/devel/nodejs4/src/node-v4.4.4/test/parallel/test-npm-install.js
Here is the npm-debug.log generated.
I see multiple issues with this test:
- Obviously npm is expecting a package.json in the build directory, which isn't there.
- This npm call uses the previously installed node 4.4.3 for testing and not the newly compiled version in my source tree.
- This test even runs if I configured the build with the
--without-npm
flag (not sure whether this is indeed an issue or not).
zinovyev
Metadata
Metadata
Assignees
Labels
npmIssues and PRs related to the npm client dependency or the npm registry.Issues and PRs related to the npm client dependency or the npm registry.testIssues and PRs related to the tests.Issues and PRs related to the tests.