You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I'm creating a file using new FileAPI.File(path). Recently I reinstalled node_modules in the project and following error occurred: TypeError: mime.lookup is not a function.
I checked node_modules and found that mime module version is 2.0.1. In this version API has been changes (e.g. lookup method was renamed). If I forced npm to install 1.2.11 and it works fine.
Please change mime version in package.json, e.g. "mime": "1.2.11" (without "^") should fix it.
Thanks!
andrewcummings, reblws, mikeshultz, pedalpete, hagata and 1 more