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

ionic native 3 with last version image loader #31

Closed
MarinoRaul opened this issue Mar 23, 2017 · 7 comments
Closed

ionic native 3 with last version image loader #31

MarinoRaul opened this issue Mar 23, 2017 · 7 comments

Comments

@MarinoRaul
Copy link

MarinoRaul commented Mar 23, 2017

I got this error when i try run this plugin ...

bundle failed: 'FileReader' is not exported by node_modules/@ionic-native/file/index.js (imported
by node_modules/ionic-image-loader/dist/providers/image-loader.js). For help fixing this
error see https://github.com/rollup/rollup/wiki/Troubleshooting#name-is-not-exported-by-module

Any idea??

Thanks!

@ihadeed
Copy link
Member

ihadeed commented Mar 23, 2017

Thanks, I will look into it soon.

@MarinoRaul
Copy link
Author

Any resolution about this?

Thanks

@ihadeed
Copy link
Member

ihadeed commented Mar 24, 2017

I think it's because we're exporting interface FileReader and declare var FileReader at the same time. I will have to fix this in the Ionic Native repo.

Or maybe I should just not import FileReader into this project.

I'll work on it today.

@MarinoRaul
Copy link
Author

Thanks! Please notify me when you commit this fix!

@ihadeed
Copy link
Member

ihadeed commented Mar 25, 2017

I can't reproduce this issue.

I tested it on the example project here: https://github.com/zyramedia/ionic-image-loader-example

I tried both npm run build and npm run build --prod. Didn't get any bundle issues.


Could you please provide steps to reproduce this? or an example project?

@MarinoRaul
Copy link
Author

I got this error with @ionic-native/core ... /device /file /transfer version 3.2.3 and image loader version 2.0.2

rollup failed: 'FileReader' is not exported by node_modules/@ionic-native/file/index.js
[16:25:21] ionic-app-script task: "build"
[16:25:21] Error: 'FileReader' is not exported by node_modules/@ionic-native/file/index.js
Error: 'FileReader' is not exported by node_modules/@ionic-native/file/index.js

Any idea about this???????

THANKS A LOT!

@ihadeed
Copy link
Member

ihadeed commented Mar 27, 2017

As I mentioned earlier, I am not able to reproduce this issue.

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