npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm config help error

This is the debug info:
0 info it worked if it ends with ok
1 verbose cli [ ‘C:\Program Files\nodejs\node.exe’,
1 verbose cli ‘C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js’,
1 verbose cli ‘search’ ]
2 info using npm@3.10.10
3 info using node@v6.11.1
4 verbose stack Error: search must be called with arguments
4 verbose stack at (C:\Program Files\nodejs\node_modules\npm\lib\search.js:57:15)
4 verbose stack at Object.commandCache.(anonymous function) (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:124:13)
4 verbose stack at EventEmitter. (C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js:73:30)
4 verbose stack at _combinedTickCallback (internal/process/next_tick.js:73:7)
4 verbose stack at process._tickCallback (internal/process/next_tick.js:104:9)
5 verbose cwd C:
6 error Windows_NT 10.0.17733
7 error argv “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” “search”
8 error node v6.11.1
9 error npm v3.10.10
10 error search must be called with arguments
11 error If you need help, you may report this error at:
11 error
12 verbose exit [ 1, true ]
I have checked the version of node and npm and agrees with the above

It looks like you executed npm search without additional arguments.

What were you trying to achieve?