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

Linux error can't resolve Resizer #20

Open
Herwt-liyj opened this issue Jun 28, 2018 · 2 comments
Open

Linux error can't resolve Resizer #20

Herwt-liyj opened this issue Jun 28, 2018 · 2 comments

Comments

@Herwt-liyj
Copy link

Herwt-liyj commented Jun 28, 2018

本地打包构建npm run build 是成功!但是在linux服务器上打包构建的时报错,如下图
image
原因:node_modules/image-cropper.js/src/cropper.js 文件中 引入 var Resizer = require('./Resizer') 导致!
解决办法: var Resizer = require('./resizer') 改为小写!
如图

image

@edwardcqj
Copy link

+1

@zifengb
Copy link

zifengb commented Aug 15, 2018

这个问题希望ElementFE早点修补~,Merge PR! 😭

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

3 participants