question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems with Meteor 1.8.1?

See original GitHub issue

I’m having an issue:

After updating to Meteor 1.8.1 I’m having problems with my file upload. I’m using version 1.10.2 according to my versions file. It happens in the FilesCollection constructor on the server inside the onBeforeUpload: The this.userId and this.user() are both null even though I’m logged in as a user.

In the logs I also get this error: W20190404-10:25:41.952(2)? (STDERR) [FilesCollection] [Upload] [HTTP] Exception: TypeError: Cannot read property 'profile' of undefined W20190404-10:25:41.953(2)? (STDERR) at Object.onBeforeUpload (imports/api/files/server/files_server.js:108:11) W20190404-10:25:41.953(2)? (STDERR) at FilesCollection._prepareUpload (packages/ostrio:files/server.js:903:51) W20190404-10:25:41.953(2)? (STDERR) at bound (packages/ostrio:files/server.js:568:34) W20190404-10:25:41.953(2)? (STDERR) at Meteor.bindEnvironment.callback (packages/ostrio:files/server.js:21:50) W20190404-10:25:41.953(2)? (STDERR) at runWithEnvironment (packages/meteor.js:1286:24) W20190404-10:25:41.956(2)? (STDERR) [object Object] W20190404-10:25:41.957(2)? (STDERR) at handleError (packages/ostrio:files/server.js:441:21) W20190404-10:25:41.957(2)? (STDERR) at bound (packages/ostrio:files/server.js:602:15) W20190404-10:25:41.957(2)? (STDERR) at Meteor.bindEnvironment.callback (packages/ostrio:files/server.js:21:50) W20190404-10:25:41.957(2)? (STDERR) at runWithEnvironment (packages/meteor.js:1286:24)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:3
  • Comments:10 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
jankapunktcommented, May 29, 2019

Wow, that was fast 😮 just merged it right now. @dr-dimitru are you free in time to publish a new version on atmosphere?

4reactions
menelikecommented, Apr 12, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to upgrade meteor to 1.8.1 or newer - help
I first tried meteor update --patch which failed. Then meteor update which also failed. I got rid of bcrypt by running meteor npm...
Read more >
[1.8.1] Potential subscription performance issue #10770 - GitHub
I tried running on Windows 10 and it looks like there is NO performance difference there for some reason. Other notes: I turned...
Read more >
Meteor Blog - Medium - RSSing.com
We hope to ship Meteor 1.8.1 as soon as we can diagnose and fix these performance problems, and that will happen sooner if...
Read more >
Updating MeteorJS not working, running "meteor --version" or ...
I am trying to work on an old project that was using Meteor 1.8.1 at the time of its last commit. I have...
Read more >
Meteor Changelog - 《Meteor API Docs 1.8》 - 书栈网
App icon and launch image sizes have been updated. Low resolution sizes fornow unsupported devices have been deprecated, and higher resolution ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found