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

WebCat mock_front branch prod build is not loading on Mac Safari #130

Open
tareq89 opened this issue Sep 6, 2016 · 0 comments
Open

WebCat mock_front branch prod build is not loading on Mac Safari #130

tareq89 opened this issue Sep 6, 2016 · 0 comments
Assignees

Comments

@tareq89
Copy link
Member

tareq89 commented Sep 6, 2016

Background:

WebCat mock_front branch prod build is not loading on Mac Safari. The error it is giving is:

1. TypeError: Attempting to change configurable attribute of unconfigurable property
2. reflect-metadata shim is required when using class decorators

safari problem on console

safari problem fetch b2c

I found this stackoverflow question where it is mentioned to add reflect-metadata, es6-shim and zone.js in the index.html file. Though in our production build, all these files should be bundled up, I added these js files on production build's index.html locally (except zone.js, adding it was showing zone.js is already loaded in the bundle.js). Then tried to load it on chrome, firefox and safari.

In safari, it is now giving another error telling,

Cannot resolve all parameters for 'b'(a @Optional(), [object WindowConstructor], [object DocumentConstructor]). Make sure that all the parameters are decorated with Inject or have valid type annotations and that 'b' is decorated with Injectable.

safari problem

@tareq89 tareq89 self-assigned this Sep 6, 2016
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

1 participant