Skip to content

Instantly share code, notes, and snippets.

@shannon
Created November 16, 2017 02:44
Show Gist options
  • Select an option

  • Save shannon/d2304823aa0a357f356fa5b9fc22f1a3 to your computer and use it in GitHub Desktop.

Select an option

Save shannon/d2304823aa0a357f356fa5b9fc22f1a3 to your computer and use it in GitHub Desktop.
0 info it worked if it ends with ok
1 verbose cli [ '/data/data/com.termux/files/usr/bin/node',
1 verbose cli '/data/data/com.termux/files/usr/bin/npm',
1 verbose cli 'i',
1 verbose cli '-g',
1 verbose cli 'http-server' ]
2 info using npm@5.5.1
3 info using node@v8.9.1
4 verbose npm-session 456b325fdfcd5991
5 verbose stack TypeError: Cannot read property 'length' of undefined
5 verbose stack at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/worker-farm/lib/farm.js:5:61)
5 verbose stack at Module._compile (module.js:635:30)
5 verbose stack at Object.Module._extensions..js (module.js:646:10)
5 verbose stack at Module.load (module.js:554:32)
5 verbose stack at tryModuleLoad (module.js:497:12)
5 verbose stack at Function.Module._load (module.js:489:3)
5 verbose stack at Module.require (module.js:579:17)
5 verbose stack at require (internal/module.js:11:18)
5 verbose stack at Object.<anonymous> (/data/data/com.termux/files/usr/lib/node_modules/npm/node_modules/worker-farm/lib/index.js:3:14)
5 verbose stack at Module._compile (module.js:635:30)
5 verbose stack at Object.Module._extensions..js (module.js:646:10)
5 verbose stack at Module.load (module.js:554:32)
5 verbose stack at tryModuleLoad (module.js:497:12)
5 verbose stack at Function.Module._load (module.js:489:3)
5 verbose stack at Module.require (module.js:579:17)
5 verbose stack at require (internal/module.js:11:18)
6 verbose cwd /data/data/com.termux/files/home
7 verbose Linux 4.4.56-g594d847d09a1
8 verbose argv "/data/data/com.termux/files/usr/bin/node" "/data/data/com.termux/files/usr/bin/npm" "i" "-g" "http-server"
9 verbose node v8.9.1
10 verbose npm v5.5.1
11 error Cannot read property 'length' of undefined
12 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment