If you rename/delete a folder and make a request to the old location, the following error appears:
/usr/local/share/npm/lib/node_modules/canned/canned.js:19
for (i = 0, e = files[i]; e != null; e = files[++i]) {
^
TypeError: Cannot read property '0' of undefined
at scanFileListForName (/usr/local/share/npm/lib/node_modules/canned/canned.js:19:24)
at responseForFile (/usr/local/share/npm/lib/node_modules/canned/canned.js:54:10)
at /usr/local/share/npm/lib/node_modules/canned/canned.js:103:9 at Object.oncomplete (fs.js:107:15)
If you rename/delete a folder and make a request to the old location, the following error appears: