Skip to content

Instantly share code, notes, and snippets.

@mk-pmb
Last active February 27, 2017 16:21
Show Gist options
  • Save mk-pmb/e890e33fdb7f7397a9d075d682029336 to your computer and use it in GitHub Desktop.
Save mk-pmb/e890e33fdb7f7397a9d075d682029336 to your computer and use it in GitHub Desktop.
npm error log when trying to deprecate test-npm-synhl
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs',
1 verbose cli '/mnt/…/nodejs/modules/npm/cli.js',
1 verbose cli 'deprecate',
1 verbose cli '.',
1 verbose cli 'string highlighting looks ok now' ]
2 info using npm@4.4.0
3 info using node@v6.10.0
4 silly mapToRegistry name null
5 verbose stack AssertionError: 'object' == 'string'
5 verbose stack at npa (/mnt/…/nodejs/modules/npm/node_modules/npm-package-arg/npa.js:41:10)
5 verbose stack at mapToRegistry (/mnt/…/nodejs/modules/npm/lib/utils/map-to-registry.js:13:14)
5 verbose stack at EventEmitter.deprecate (/mnt/…/nodejs/modules/npm/lib/deprecate.js:44:3)
5 verbose stack at Object.commandCache.(anonymous function) (/mnt/…/nodejs/modules/npm/lib/npm.js:133:13)
5 verbose stack at EventEmitter.<anonymous> (/mnt/…/nodejs/modules/npm/bin/npm-cli.js:81:30)
5 verbose stack at _combinedTickCallback (internal/process/next_tick.js:67:7)
5 verbose stack at process._tickCallback (internal/process/next_tick.js:98:9)
6 verbose cwd /mnt/…/nodejs/modules/test-npm-synhl
7 verbose Linux 3.13.0-108-generic
8 verbose argv "/usr/bin/nodejs" "/mnt/…/nodejs/modules/npm/cli.js" "deprecate" "." "string highlighting looks ok now"
9 verbose node v6.10.0
10 verbose npm v4.4.0
11 error 'object' == 'string'
12 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment