Skip to content

Instantly share code, notes, and snippets.

@sam-github
Created August 14, 2014 21:46
Show Gist options
  • Save sam-github/dbde869b89d65b5f0f7b to your computer and use it in GitHub Desktop.
Save sam-github/dbde869b89d65b5f0f7b to your computer and use it in GitHub Desktop.
sam@samtu:~/w/sn/strong-build (feature/git-cleanup u=) % rm -rf node_modules
sam@samtu:~/w/sn/strong-build (feature/git-cleanup u=) % npm install
npm WARN deprecated [email protected]: Please upgrade to v1.0.2 or higher
[email protected] node_modules/debug
[email protected] node_modules/posix-getopt
[email protected] node_modules/async
[email protected] node_modules/shelljs
[email protected] node_modules/lodash
[email protected] node_modules/json-file-plus
├── [email protected]
└── [email protected] ([email protected])
[email protected] node_modules/vasync
├── [email protected] ([email protected])
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/tar
├── [email protected]
├── [email protected]
└── [email protected] ([email protected], [email protected], [email protected])
[email protected] node_modules/tap
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected] ([email protected])
├── [email protected] ([email protected], [email protected], [email protected])
├── [email protected] ([email protected])
├── [email protected] ([email protected])
└── [email protected] ([email protected])
sam@samtu:~/w/sn/strong-build (feature/git-cleanup u=) % npm test
> [email protected] test /home/sam/w/sn/strong-build
> tap --timeout=300 ./test/test-*
Switched to a new branch 'dst'
Switched to a new branch 'src'
ok ./test/test-basic.sh ................................. 1/1
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
not ok ./test/test-build-bundled.js ..................... 0/1
Command: "/usr/local/stow/node/bin/node test-build-bundled.js"
TAP version 13
not ok 1 ./test/test-build-bundled.js
---
exit: 8
stderr: |
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
command: "/usr/local/stow/node/bin/node test-build-bundled.js"
...
1..1
# tests 1
# fail 1
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
not ok ./test/test-build-install.js ..................... 0/1
Command: "/usr/local/stow/node/bin/node test-build-install.js"
TAP version 13
not ok 1 ./test/test-build-install.js
---
exit: 8
stderr: |
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
command: "/usr/local/stow/node/bin/node test-build-install.js"
...
1..1
# tests 1
# fail 1
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
not ok ./test/test-build-pack.js ........................ 0/1
Command: "/usr/local/stow/node/bin/node test-build-pack.js"
TAP version 13
not ok 1 ./test/test-build-pack.js
---
exit: 8
stderr: |
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
command: "/usr/local/stow/node/bin/node test-build-pack.js"
...
1..1
# tests 1
# fail 1
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
not ok ./test/test-build-scripts.js ..................... 0/1
Command: "/usr/local/stow/node/bin/node test-build-scripts.js"
TAP version 13
not ok 1 ./test/test-build-scripts.js
---
exit: 8
stderr: |
Error on `npm run build`:
Failed to run `npm run build`:
npm ERR! Error: ENOENT, open '/home/sam/w/sn/strong-build/test/package.json'
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR! <http://github.com/npm/npm/issues>
npm ERR! System Linux 3.13.0-32-generic
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
npm ERR! cwd /home/sam/w/sn/strong-build/test
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! path /home/sam/w/sn/strong-build/test/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/sam/w/sn/strong-build/test/npm-debug.log
npm ERR! not ok code 0
assert.js:325
assert.ifError = function(err) { if (err) {throw err;}};
^
Error: npm run build
at Error (<anonymous>)
at /home/sam/w/sn/strong-build/index.js:46:16
at /home/sam/w/sn/strong-build/node_modules/shelljs/src/exec.js:107:7
at ChildProcess.exithandler (child_process.js:652:7)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Socket.<anonymous> (child_process.js:969:11)
at Socket.emit (events.js:95:17)
at Pipe.close (net.js:465:12)
command: "/usr/local/stow/node/bin/node test-build-scripts.js"
...
1..1
# tests 1
# fail 1
Invalid usage (extra arguments), try ` --help`.
Invalid usage (near option 'no-such-option'), try ` --help`.
Invalid usage (near option 'Z'), try ` --help`.
ok ./test/test-usage.js ................................. 1/1
total ................................................... 2/6
not ok
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment