-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class constructor LRUCache cannot be invoked without 'new' #171
Comments
var LRU = require('lru-cache') |
Any updates? This problem still doesn't allow using the module. Either mark the module deprecated, or pay attention to the PRs. |
I am using the module and it is normal. Check the version you are using.
const device = require('express-device');
const useragent = require('useragent');
app.use(device.capture({
parseUserAgent: true
})), useragent(true); |
The way to invoke an instance of LRUCache has changed.
The text was updated successfully, but these errors were encountered: