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
Ignore missing files #302
Comments
Yes. me too, gets this error while using |
Could you provide the full traceback? |
Here.
|
Could you try with |
It gives the same error. Does it mean the problem is not
|
My main problem with this change, is that it's a double edged sword, where all missing files goes silent, and 404 are really a nasty thing. But I'm sure that other projects would love to know that their are shipping CSS that point to non-bundled images! Thanks again for the help @edwinlunando! |
Sure @cyberdelia! Thank you. |
Wish there was a way to make this "warn" rather than "panic!" In the meantime, Googlers, use this: |
@cyberdelia, can we have warnings instead of errors on compilation? As you can see, I'm bumping into more and more errors because of this, and we can't expect every one of them get corrected. So I have to introduce more and more The problem is, since I can't specify paths explicitly ( |
yeah, on a side note, some people like @Eonasdan are even unwilling to resolve the problem, against my best intentions. he just deleted the issue I created and banned me in his repo, after making a phlegmatic comment. what a dick move. so because of this, the problem here won't be solved on his behalf, since he is unwilling to help. |
actually @karolyi I disabled all the issues. I don't have time to work on the picker at the moment. "No is a complete sentence". Guess you'll have to get over yourself |
We're using "slider revolution" which has this line in a css:
It seems to reference This also triggers this problem. In our case we've removed the comment to work around this and then everything worked fine.. |
Had this same issue using lodash and (via dependency) firebug-lite. The error I was getting was
And the solution as mentioned above is to run:
|
I just had the same issue with jquery-compiler, as @czue suggested, the flag
However, it would be nice to have this issue fixed |
In large projects that use dozens of third-party libraries, invariably, some library will reference a
url(../../..somefile)
which doesn't exist. When runningmanage.py collectstatic
with django-pipeline, this will result in an incredibly unhelpful error like:Not only does pipeline not mention which file attempts to include this file, searching for
img/icons.gif
myself results in 42 matches. Even if I could locate the issue, I can't easily fix the missing file, since it's a third-party library. This means pipeline is effectively blocking all my deployments because of a missing file I don't even use.Ideally, pipeline should report which resource is referencing a missing file and allow specifying an option to ignore it. This is very similar to the
https://github.com/adamcharnock/django-pipeline-forgiving
fork, although I think this would be a good idea for the main branch.The text was updated successfully, but these errors were encountered: