Skip to content
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

engine.io-client:Unable to resolve module #12

Open
hugh1st opened this issue Jul 16, 2017 · 5 comments
Open

engine.io-client:Unable to resolve module #12

hugh1st opened this issue Jul 16, 2017 · 5 comments

Comments

@hugh1st
Copy link

hugh1st commented Jul 16, 2017

访问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: [
{ }
]
}

@lragon
Copy link

lragon commented Sep 4, 2017

同问

@yuanmaole
Copy link

我也出现这个错误

@plusmancn
Copy link
Member

plusmancn commented Sep 13, 2017

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

@aweffr
Copy link

aweffr commented Apr 23, 2018

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

@iceleaf916
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants