Meteor-files: Internet Explorer 11 blank page

Created on 24 Aug 2017  路  12Comments  路  Source: veliovgroup/Meteor-Files

Hello, I opened an issue on the forum of Meteor, and after investigation it would seem that the error comes of ostrio:files.

https://forums.meteor.com/t/internet-explorer-11-blank-page/38810

I have enabled the debug mode in the constructor.

```debug: true,
storagePath: '/opt/uploads',
downloadRoute: '/uploads/pictures/',
collectionName: 'images',
allowClientCode: false,
public: false,
chunkSize: 1024 * 2048,
throttle: 1024 * 512,
cacheControl: 'public, max-age=31536000',


When I load the homepage of the project for the first time, the page is empty. When I refresh her, an error appears in the console, here she is:

![image](https://user-images.githubusercontent.com/3338681/29654117-30eb2ff0-88ac-11e7-8c81-493244fe701f.png)

The error seems to concern this line in the repository:

https://github.com/VeliovGroup/Meteor-Files/blob/master/client.coffee#L170

And the logs server side:


=> Started proxy.
=> Started MongoDB.
I20170824-08:35:49.566(2)? [FilesCollection.storagePath] Set to: /opt/uploads
=> Started your app.

=> App running at: http://localhost:3000/

My file .meteor/versions:

[email protected]
[email protected]
alanning:[email protected]
aldeed:[email protected]
aldeed:[email protected]
aldeed:[email protected]
aldeed:[email protected]
aldeed:[email protected]
[email protected]
arillo:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
cfs:[email protected]
[email protected]
[email protected]_1
[email protected]_1
dburles:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected] # <===================================== here
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected] # <===================================== here
[email protected]
froatsnook:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
isotope:[email protected]_1
jeremy:[email protected]
[email protected]
kadira:[email protected]
kadira:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
mdg:[email protected]
mdg:[email protected]
[email protected] # <===================================== here
[email protected]
meteorhacks:[email protected]
meteorspark:[email protected]
mikowals:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
momentjs:[email protected]
[email protected]
[email protected]
mrt:[email protected]
nefiltari:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
ostrio:[email protected]
ostrio:[email protected] # <===================================== here
percolate:[email protected]
percolate:[email protected]_1
practicalmeteor:[email protected]_1
practicalmeteor:[email protected]_2
practicalmeteor:[email protected]_6
practicalmeteor:[email protected]
practicalmeteor:[email protected]_2
[email protected]
raix:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
simple:[email protected]
simple:[email protected]
softwarerero:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
tap:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
tmeasday:[email protected]
tmeasday:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
useraccounts:[email protected]
useraccounts:[email protected]
useraccounts:[email protected]
[email protected]
[email protected]
wizonesolutions:[email protected]
zimme:[email protected]
```

In the console, it seems nevertheless whether it is an integer which is used:
log

Could you help me ?

Sorry, i don't speak english very well

thanks and good day

MS Explorer question

Most helpful comment

Hello, the problem is solved,

I had install babel-polyfill to correct a bug for meteor simpl-schema and the problem came from there. I updated to the last version of simpl-schema to benefit of this PR :
https://github.com/aldeed/node-simple-schema/pull/42/commits/836269148c3cb949819b99a63296c0153bb8fba8
and to remove babel-polyfill and now that works.

Thank you very much for your help and for you package meteor-files, it is brilliant

All 12 comments

Hello @mi-k4 ,

  1. Is error appears if you don't set chunkSize?
  2. Is error appears if you set chunkSize to a Number (without multiplication, like: 2097152)?

Hello @dr-dimitru ,

thank you very much of your fast answer.

Yes, if I delete the chunksize or if I allocate him directly the value 2097152 without multiplication I have the same error.

Hello,

Can't figure out a reason for this now.
Hope @mozibrand and @laosb can take a look on this, what may cause such weird behavior in IE? Is 2097152 too big Number for IE?

Hello @dr-dimitru,

it would seem that the error is not really bound to meteor-files, but anymore to the fact of the use of the strict mode.

strict

Are you a idea ?

@mi-k4 no idea where "strict mode" may came from, lib is written in a CoffeeScript which does not use strict.

Only web worker is written in JS and use strict, there is no place where arguments is called.

Is there a possibility to click on the error to see place in code where it was thrown?

Hello @dr-dimitru ,

the error is throw at this line :

check-file

https://github.com/meteor/meteor/blob/master/packages/check/match.js#L39

I'm going to open an issue in the github of meteor.

thank

I'm going to open an issue in the github of meteor.

Drop a link here

Hello @mi-k4 ,

Is this issue exists if you update to the latest Meteor (1.5.2)?

Hello, I have the same error with the new version of meteor. I managed to reproduce a similar error with this repository:

https://github.com/mi-k4/meteor-project-error

the error :

capture d ecran_2017-09-12_08-14-33

Hello, the problem is solved,

I had install babel-polyfill to correct a bug for meteor simpl-schema and the problem came from there. I updated to the last version of simpl-schema to benefit of this PR :
https://github.com/aldeed/node-simple-schema/pull/42/commits/836269148c3cb949819b99a63296c0153bb8fba8
and to remove babel-polyfill and now that works.

Thank you very much for your help and for you package meteor-files, it is brilliant

@mi-k4 I'm glad this one is solved.

Thank you very much for your help and for you package meteor-files, it is brilliant

These words mean a lot to me and our team, thank you.

Please, support this project by:

Was this page helpful?
0 / 5 - 0 ratings