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

我在一个cli的项目里面安装环境问题 #14

Closed
shao37142 opened this issue Jul 17, 2017 · 5 comments
Closed

我在一个cli的项目里面安装环境问题 #14

shao37142 opened this issue Jul 17, 2017 · 5 comments

Comments

@shao37142
Copy link

我在一个cli的项目里面执行
npm install echarts --save
npm install ngx-echarts --save
之后就出现好几个类似这种的错误
ERROR in .//jquery/lib/node-jquery.js
Module not found: Error: Can't resolve 'xmlhttprequest' in 'F:\test\lite-version\node_modules\jquery\lib'
@ ./
/jquery/lib/node-jquery.js 8:28-53
@ ./src/lib.ts
@ ./src/main.ts
@ multi webpack-dev-server/client?http://localhost:4321 ./src/main.ts,
请教一下如何解决...

@xieziyu
Copy link
Owner

xieziyu commented Jul 17, 2017

@shao37142 请检查一下你的工程配置。echarts和ngx-echarts并不依赖jquery插件。

@shao37142
Copy link
Author

@xieziyu 谢谢回答,但是我在安装之前是ok的,安装之后就出现了这个问题...可否提示我一下解决思路...

@xieziyu
Copy link
Owner

xieziyu commented Jul 18, 2017

@shao37142 从你的错误信息,我只能理解是其他某个插件引起的问题,我很好奇echarts和ngx-echarts为何会对此产生影响。如果你方便的话,可以把代码库发出来我看一下

@shao37142
Copy link
Author

@xieziyu 好的,能否提供一个邮箱...

@xieziyu
Copy link
Owner

xieziyu commented Jul 18, 2017

@xieziyu xieziyu closed this as completed Jul 24, 2017
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

2 participants