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

Tried to serve up '/config/www/github/custom-cards/button-card.js.map' but it does not exist #157

Closed
2 tasks done
johntdyer opened this issue May 13, 2019 · 3 comments · Fixed by #154
Closed
2 tasks done
Labels
bug Something isn't working

Comments

@johntdyer
Copy link

johntdyer commented May 13, 2019

Checklist

  • I updated the card to the latest version available
  • I cleared the cache of my browser

Describe the bug
I have tried this in Safari and Firefox and I get this error in the logs

2019-05-13 08:38:41 ERROR (MainThread) [custom_components.custom_updater] Tried to serve up '/config/www/github/custom-cards/button-card.js.map' but it does not exist

In Firefox console logs I get the following;

Source map error: SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
Resource URL: https://automation.xxxx/customcards/github/custom-cards/button-card.js?track=true
Source Map URL: button-card.js.map[Learn More]

Version of the card
Version: 1.8.0
Home Assistant: 0.92.2

To Reproduce
This is the configuration I used:

Screenshots
If applicable, add screenshots to help explain your problem.
image

Expected behavior
A clear and concise description of what you expected to happen.

Desktop (please complete the following information):

  • Browser Firefox 66.0.5 (64-bit) and Safari Version 12.1 (14607.1.40.1.4)

Additional context
Add any other context about the problem here.

@johntdyer johntdyer added the bug Something isn't working label May 13, 2019
@RomRider
Copy link
Collaborator

RomRider commented May 13, 2019

You can safely ignore this error. This map file is a file that gets automatically generated for debugging purpose, I'm going to see if I can release the file without the reference to it.

And by the way, the type is module not js in the resources.

@johntdyer
Copy link
Author

`And by the way, the type is module not js in the resources.``

@RomRider - Where did I say it was js vs module ?

@RomRider
Copy link
Collaborator

I was wondering about the strange issue in FF, that's why ;)

RomRider added a commit that referenced this issue May 15, 2019
RomRider added a commit that referenced this issue May 16, 2019
* Config template support

* deep merge for templates

* Use terser and fix #157

* Update documentation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants