Regression in meteor publish: Cannot call method 'toString' of undefined at uploadFile #3977
Labels
Comments
ekatek
pushed a commit
that referenced
this issue
Mar 24, 2015
Addressing: #3977 HttpHelpers.getUrl sometimes throws an error, and sometimes throws a string. The right thing to do is to fix getUrl everywhere, but for now, let's get better error handling in package-client.js
Thanks for the bug report. It seems that you are running into a problem uploading some files. I can't replicate it -- does it come up every time you run with 1.0.4.1? If it broke once, and then fixed itself with 1.0.3, it might be a transient issue with a net connection or something. Unrelated, there is also an error handling bug, since instead of displaying the error that you actually got, Meteor crashes. I have pushed a fix to devel. Going to close, but feel free to reopen if it recurs, especially with the better error message. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey,
I can't publish one of my packages with the latest release (v1.0.4.1).
There were no major changes in the code, and
meteor --release 1.0.3 publish
worked fine (sorry, was a bit rushed to try all the versions in between but happy to do this over the weekend if it helps and the error below isn't obvious). I'm guessing it's because of my Npm.depends(), but there's no binary component and of course, it used to publish and work fine. Error is:The text was updated successfully, but these errors were encountered: