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

vue项目通过npm安装3.0.2,项目启动后有警告 #99

Open
liu-xinhui opened this issue Jul 16, 2019 · 4 comments
Open

vue项目通过npm安装3.0.2,项目启动后有警告 #99

liu-xinhui opened this issue Jul 16, 2019 · 4 comments

Comments

@liu-xinhui
Copy link

Starting dev server...

WARNING Compiled with 2 warnings 13:55:33

warning in ./node_modules/easemob-websdk/webimSDK.js

1:263-264 Critical dependency: require function is used in a way in which dependencies cannot be statically extracted

warning in ./node_modules/easemob-websdk/webimSDK.js

1:292-296 Critical dependency: the request of a dependency is an expression

Listening at http://localhost:8090
image

@myZhangDong
Copy link
Collaborator

参考一下项目里webpack的配置, demo/config/webpack.config.dev 加上 exprContextCritical: false,

@gucovip
Copy link

gucovip commented Apr 2, 2020

参考一下项目里webpack的配置, demo/config/webpack.config.dev 加上 exprContextCritical: false,

加入后依然存在警告

warning in ./node_modules/easemob-websdk/webimSDK3.0.6.js

1:292-296 Critical dependency: the request of a dependency is an expression

@gucovip
Copy link

gucovip commented Apr 2, 2020

这个问题在3.0.6 版本中依然存在

@gucovip
Copy link

gucovip commented Apr 2, 2020

这个问题在3.0.6 版本中依然存在

3.0.10 版本中依然存在

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

No branches or pull requests

3 participants