Description of problem: "search" command of npm did not work correct. Version-Release number of selected component (if applicable): nodejs.x86_64 0.10.26-1.fc20 @updates npm.noarch 1.3.6-4.fc20 @fedora How reproducible: Steps to Reproduce: 1. $ sudo yum install npm 2. $ npm cache clear -f 2. $ npm search rx Actual results: $ npm search rx npm WARN Building the local index for the first time, please be patient npm http GET https://registry.npmjs.org/-/all npm http 200 https://registry.npmjs.org/-/all npm ERR! TypeError: Object.keys called on non-object npm ERR! at Function.keys (native) npm ERR! at stripData (/usr/lib/node_modules/npm/lib/search.js:88:28) npm ERR! at Array.map (native) npm ERR! at filter (/usr/lib/node_modules/npm/lib/search.js:72:6) npm ERR! at /usr/lib/node_modules/npm/lib/search.js:62:21 npm ERR! at /usr/lib/node_modules/npm-registry-client/lib/get.js:93:14 npm ERR! at /usr/lib/node_modules/graceful-fs/graceful-fs.js:103:5 npm ERR! at Object.oncomplete (fs.js:107:15) npm ERR! If you need help, you may report this log at: npm ERR! <http://github.com/isaacs/npm/issues> npm ERR! or email it to: npm ERR! <npm-> npm ERR! System Linux 3.13.9-200.fc20.x86_64 npm ERR! command "node" "/usr/bin/npm" "search" "rx" npm ERR! cwd .......... npm ERR! node -v v0.10.26 npm ERR! npm -v 1.3.6 npm ERR! type called_on_non_object npm ERR! npm ERR! Additional logging details can be found in: npm ERR! .......... npm ERR! not ok code 0 Expected results: List of founded packages. Additional info: https://github.com/npm/npm/issues/3443 Developers recommend to upgrade package
I hope to be able to refresh the version of npm in Fedora soon, but in the meantime I've backported the commit that fixes 'npm search'. The update system will automatically post to this bug when a fixed package is ready. Thanks for the report!
npm-1.3.6-5.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/npm-1.3.6-5.fc20
npm-1.3.6-5.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/npm-1.3.6-5.fc19
npm-1.3.6-5.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/npm-1.3.6-5.el6
npm-1.3.6-5.fc20 works
Package npm-1.3.6-5.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing npm-1.3.6-5.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-5133/npm-1.3.6-5.fc20 then log in and leave karma (feedback).
npm-1.3.6-5.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
npm-1.3.6-5.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
npm-1.3.6-5.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.