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.

Error after install

See original GitHub issue

Hi!

I have installed this card and I cannot get it to work. The card displays the following error:

i.setConfig is not a function. (In 'i.setConfig(e)', 'i.setConfig' is undefined

The log is now throwing this error:

https://xxxxxxxxx.duckdns.org:8123/local/mini-media-player.js:5:40 TypeError: this.createShadowRoot is not a function. (In 'this.createShadowRoot()', 'this.createShadowRoot' is undefined)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
magnusoverlicommented, Sep 20, 2018

That solved it! Thanks for quick response and good feedback!

0reactions
kalkihcommented, Sep 20, 2018

I think I’ve figured out the issue now! The resource type in your ui-lovelace.yaml should be set to module and not js, like below.

resources:
  - url: /local/mini-media-player.js?ver=0.5
    type: module

I hope this will resolve your issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot Windows Installer errors - Microsoft Support
Describes how to troubleshoot problems that occur when you install, uninstall, or upgrade a program on a Windows-based computer by using Windows Installer....
Read more >
If an error occurred while updating or installing macOS
The message might say that an error occurred while downloading, preparing, or installing, or that the installer is damaged or could not be ......
Read more >
[SOLVED] Windows 10 Could Not Complete the Installation + ...
If you have received an error message that says Windows 10 could not complete the installation after updating your operating system, you can...
Read more >
4 Solutions to Fix Windows 10/11 Installation Has Failed
4 Solutions to Fix the "Windows 10/11 installation has failed" Error · Solution 1: Run a Clean Boot Installation · Solution 2: Create...
Read more >
[SOLVED] Windows 10 Installation Has Failed - Driver Easy
The “Windows 10 installation has failed” error could be triggered when the installer tries to repeatedly copy the files in a certain folder....
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