weinre --httpPort 80882018-03-08T09:38:31.706Z weinre: starting server at http://localhost:8088/usr/local/lib/node_modules/weinre/node_modules/._connect@1.9.2@connect/lib/middleware/static.js:143 type = mime.lookup(path); ^
TypeError: mime.lookup is not a function
* `lookup()` renamed to `getType()`
## Version 2 Notes
Version 2 is a breaking change from 1.x as the semver implies. Specifically:
* `lookup()` renamed to `getType()`* `extension()` renamed to `getExtension()`* `charset()` and `load()` methods have been removed
var charset = mime.lookup(type);
var charset = mime.getType(type);
var charset = mime.charsets.lookup(type);
var charset = mime.getType(type);