Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@sam-github
Created August 14, 2014 21:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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 json-file-plus@0.2.3: Please upgrade to v1.0.2 or higher
debug@0.8.1 node_modules/debug
posix-getopt@1.1.0 node_modules/posix-getopt
async@0.9.0 node_modules/async
shelljs@0.3.0 node_modules/shelljs
lodash@2.4.1 node_modules/lodash
json-file-plus@0.2.3 node_modules/json-file-plus
├── is@0.2.7
└── node.extend@1.0.10 (is@0.3.0)
vasync@1.5.1 node_modules/vasync
├── verror@1.1.0 (extsprintf@1.0.0)
└── jsprim@0.6.1 (extsprintf@1.0.2, verror@1.3.6, json-schema@0.2.2)
tar@0.1.20 node_modules/tar
├── inherits@2.0.1
├── block-stream@0.0.7
└── fstream@0.1.31 (graceful-fs@3.0.2, rimraf@2.2.8, mkdirp@0.5.0)
tap@0.4.12 node_modules/tap
├── deep-equal@0.0.0
├── inherits@2.0.1
├── buffer-equal@0.0.1
├── yamlish@0.0.5
├── slide@1.1.5
├── nopt@2.2.1 (abbrev@1.0.5)
├── difflet@0.2.6 (deep-is@0.1.2, charm@0.1.2, traverse@0.6.6)
├── mkdirp@0.5.0 (minimist@0.0.8)
├── glob@3.2.11 (minimatch@0.3.0)
└── runforcover@0.0.2 (bunker@0.1.2)
sam@samtu:~/w/sn/strong-build (feature/git-cleanup u=) % npm test
> strong-build@0.1.2 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