Skip to content

Loopback / datasource-juggler browserify bundle does not work in IE11 ? #863

Closed
@drywolf

Description

@drywolf

Hi,

I'm building a javascript app with loopback for the browser (using the browserify bundling). Everything works fine in Chrome/Firefox, but when I run the same code in Internet Explorer 11 (v11.103.10586.0) I hit an error in types.js at modelType.registerType() and the builtin types.

The error happens because IE11 does not seem to support the function().name attribute ?!
(see discussion here: http://stackoverflow.com/a/6903860)

At line 47 of types.js the datasource-juggler tries to access this property and it resolved to undefined in IE11. This causes other parts of code in the juggler to crash.

I tried to fix the issue by initializing the name property manually if it is not defined, then the code continues to initialize, but in the end I receive the following error:

Error while booting loopback AssertionError: must provide a valid SharedClass

This only occurs in IE though. Before I debug deeper into the issue I would like to know if those are known issues / if IE11 support is not up to date ? Is there something on the roadmap about IE11 support that I should know before I start working on a fix...

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions