nproxy icon indicating copy to clipboard operation
nproxy copied to clipboard

mime.lookup is not a function

Open goozo opened this issue 6 years ago • 4 comments

getting an error on the console output from nproxy after a matched url: [ERROR] uncaughtException: mime.lookup is not a function

Mac os 10.12.4 chrome 67 node v8.10.0

goozo avatar Nov 06 '18 19:11 goozo

Hi @goozo , downgrade the version of mime to '1.3.4'.

ylzsmallsun avatar Dec 14 '18 07:12 ylzsmallsun

Hi @goozo , downgrade the version of mime to '1.3.4'.

在哪升级?是下载到哪个目录里面呢?

ranwawa avatar Dec 23 '18 23:12 ranwawa

Hi @goozo , downgrade the version of mime to '1.3.4'.

在哪升级?是下载到哪个目录里面呢?

应该全局的node_modules下面,但是1.3.4的mine也没有了 基本已经废弃了

nightost avatar Nov 25 '19 07:11 nightost

Hi @goozo , downgrade the version of mime to '1.3.4'.

在哪升级?是下载到哪个目录里面呢?

应该全局的node_modules下面,但是1.3.4的mine也没有了 基本已经废弃了

下载离线的1.3.6可以跑,但是如果代理hot-module的内容好像有点问题,mime类型有问题 放弃了

nightost avatar Nov 25 '19 08:11 nightost