Skip to content
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

Resource MIME type problem #58

Open
chhib opened this issue Sep 16, 2014 · 8 comments
Open

Resource MIME type problem #58

chhib opened this issue Sep 16, 2014 · 8 comments

Comments

@chhib
Copy link

chhib commented Sep 16, 2014

I haven't managed to track down what is causing this in the Chrome console when adding the zones package:

Resource interpreted as Script but transferred with MIME type text/html: "http://localhost:3000/packages/meteorhacks:zones/assets/utils.js?1410859635271". HP82t24cZAf559e8T:8
Refused to execute script from 'http://localhost:3000/packages/meteorhacks:zones/assets/utils.js?1410859635271' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. HP82t24cZAf559e8T:1
...

I thought it might be the browser-policy package, but removing it still yields errors:

Resource interpreted as Script but transferred with MIME type text/html: "http://localhost:3000/packages/meteorhacks:zones/assets/before.js?1410859815350". (index):9
Resource interpreted as Script but transferred with MIME type text/html: "http://localhost:3000/packages/meteorhacks:zones/assets/utils.js?1410859815350". (index):8
Uncaught SyntaxError: Unexpected token < utils.js:1
Uncaught SyntaxError: Unexpected token < before.js:1
Resource interpreted as Script but transferred with MIME type text/html: "http://localhost:3000/packages/meteorhacks:zones/assets/zone.js?1410859815350". (index):10
...
@arunoda
Copy link
Member

arunoda commented Sep 16, 2014

Are you using mrt ot new packaging system?

@arunoda
Copy link
Member

arunoda commented Sep 16, 2014

Can you please update zones package. Current version is 1.2.1.
It's available via both mrt and meteor.

@chhib
Copy link
Author

chhib commented Sep 16, 2014

I'm using the new packaging system and also version 1.2.1. Meteor version is 0.9.2.1.

@arunoda
Copy link
Member

arunoda commented Sep 16, 2014

Ah! We haven't tested yet with 0.9.2. I'll give it a try here.


Arunoda Susiripala

@arunoda http://twitter.com/arunoda
http://gplus.to/arunodahttps://github.com/arunoda
http://www.linkedin.com/in/arunoda

On Tue, Sep 16, 2014 at 3:50 PM, David Andersson notifications@github.com
wrote:

I'm using the new packaging system and also version 1.2.1. Meteor version
is 0.9.2.1.


Reply to this email directly or view it on GitHub
#58 (comment).

@arunoda
Copy link
Member

arunoda commented Sep 17, 2014

We had a issues with Meteor 0.9.2, please update meteorhacks:zones to 1.2.2

@krstffr
Copy link

krstffr commented Sep 17, 2014

I also have this issue, and I'm using 0.9.2.1 / 1.2.2.

@arunoda
Copy link
Member

arunoda commented Sep 17, 2014

are you still having this issue, hmmm. let me see. weird.

@krstffr
Copy link

krstffr commented Sep 17, 2014

Yes, only on my Heroku server though, not on my local machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants