My index.js file requires module cache. I have installed it using npm but the error doesnt go away.
var cache = require('cache')({
backend: 'memory'
});
After this didnt work i installed it using -g option as well but the error persisted. Any thoughts?