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

New webpack produces -> Error: Content and Map of this Source is no longer available (only size() is supported) #4

Closed
jmesa-sistel opened this issue Feb 4, 2019 · 6 comments

Comments

@jmesa-sistel
Copy link

jmesa-sistel commented Feb 4, 2019

Hello

I'm using new webpack-dev-server@3.1.14 because angular has updated to this version.
When I try to use your plugin I get an error:

Error: Content and Map of this Source is no longer available (only size() is supported)

This is because webpack devs have changed the assets behaviour:
add a new version of emitting assets which allows to free memory
Can you fix your great plugin?

@jmesa-sistel
Copy link
Author

@euclid1990 Any news?

@euclid1990
Copy link
Owner

@jmesa-sistel I will fix it after Vietnam Lunar New Year holidays. Thank for reporting

@jmesa-sistel
Copy link
Author

@euclid1990 After read the comments I think it has no solution. Web dev server has the same problem with writeToDisk and the answer is not use writeToDisk option

@euclid1990
Copy link
Owner

@jmesa-sistel now I have no idea for this problem because I am not have any Laptop and PC near me. I will inspect it after my holidays and reply you asap :(

@jmesa-sistel
Copy link
Author

@euclid1990
Did you closed because you don't know how to fix it? Or because there is no fix?

@euclid1990
Copy link
Owner

euclid1990 commented Apr 3, 2019

@jmesa-sistel Sorry, I can't reproduce your error. However, I've been updated the new webpack/lib versions, everything is running smoothly, you can try it now!
https://www.npmjs.com/package/write-assets-webpack-plugin v1.0.5

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