im.js icon indicating copy to clipboard operation
im.js copied to clipboard

engine.io-client:Unable to resolve module

Open hugh1st opened this issue 7 years ago • 5 comments

访问http://localhost:8081/index.android.bundle?platform=android&dev=true&hot=false&minify=false报如下错误是什么原因? { from: "F:\www\RN\im.js\node_modules\engine.io-client\lib\transports\index.js", to: "F:\www\RN\im.js\node_modules\engine.io-client\lib\transports\index.j\lib\xmlhttprequest.js", message: "Unable to resolve module F:\www\RN\im.js\node_modules\engine.io-client\lib\transports\index.j\lib\xmlhttprequest.js from F:\www\RN\im.js\node_modules\engine.io-client\lib\transports\index.js: Directory F:\www\RN\im.js\node_modules\engine.io-client\lib\transports\index.j\lib\xmlhttprequest.js doesn't exist", name: "UnableToResolveError", type: "UnableToResolveError", errors: [ { } ] }

hugh1st avatar Jul 16 '17 11:07 hugh1st

同问

lragon avatar Sep 04 '17 03:09 lragon

我也出现这个错误

yuanmaole avatar Sep 06 '17 06:09 yuanmaole

抱歉,编译环境是在 Mac 上。

plusmancn avatar Sep 13 '17 07:09 plusmancn

这个错误+1, 我是windows环境,能绕过吗?

aweffr avatar Apr 23 '18 02:04 aweffr

import io from "socket.io-client/dist/socket.io"; 这样可以绕过去

iceleaf916 avatar Mar 22 '19 02:03 iceleaf916