I noticed a new beta come out but it doesn’t seem to be installable (the server does have internet access)?
me@dev:# meteor update --release 1.3-beta.11
Sorry, Meteor 1.3-beta.11 is not installed and could not be downloaded. Please check to make sure that you are online.
We’ll post here when beta.11 is ready. We’re merging a bunch of mobile and testing improvements into this release, so it’s a bit more complicated than the previous modules beta releases.
I’ve upgraded to beta 11 and my project finally works again for the most part!
One of the remaining issues I’m having is that the Semantic UI fonts have stopped working:
OTS parsing error: invalid version tag
browse:1 Failed to decode downloaded font: http://localhost:3000/lib/semantic-ui/src/themes/default/assets/fonts/icons.woff
Hey @avital
So __dirname works now in beta-11! Thanks for that. But unfortunately busboy does not… it tries to read a file at that location but can’t find it:
fs.readdirSync(__dirname + ‘/types’)
Again, I’m not sure how @arunoda got this working with Meteorhacks:npm but its not working with the current beta-11 mechanism.
That’s because __dirname is not a full file system path, but simply the directory part of the absolute identifier of the current module. On the client, it doesn’t make sense to expose real file system paths, and it seemed risky to make the server and client behave differently. In an ideal world, the busboy package would just use require("./types/...") to load those types. What it’s doing now won’t work on Windows, anyway. There’s a chance we can make this work the way busboy expects, but I’m going to have to think about it some more. Thanks for the example!
Yeah I don’t disagree that there are better ways to do what they are doing. But it may be worth supporting on the server side as your likely to see more of it as people start sucking in npm packages.