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.

JS files not appearing in 'www' folder

See original GitHub issue

Version of HACS

Describe the bug

A clear and concise description of what the bug is.

I’ve followed the instructions to set up hacs on my home assistant which is running on a rpi3

My HACS version is : 0.5.1 Home Assistant version : 0.93.2

I can click install on the items in the store - for example i’ve tried button-card and secondaryinfo-entity-row which I’ve been using but without any sort of updates

They appear in my overview as installed, but when I look in www (the full path is /home/homeassistant/.homeassistant/www like the output tells me it should be)

I don’t see any newly created files

I’ve checked the logs and found the following

2019-06-05 16:00:19 [custom_components.hacs.frontend] Tried to serve up ‘/home/homeassistant/.homeassistant/www/community/button-card/button-card.js’ but it does not exist 2019-06-05 16:00:19 [custom_components.hacs.frontend] there was an issue trying to serve button-card/button-card.js - Not Found

Debug log


2019-06-05 16:00:19 [custom_components.hacs.frontend] Tried to serve up '/home/homeassistant/.homeassistant/www/community/button-card/button-card.js' but it does not exist
2019-06-05 16:00:19 [custom_components.hacs.frontend] there was an issue trying to serve button-card/button-card.js - Not Found```

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Shaun-Harrisoncommented, Jun 5, 2019

https://hastebin.com/ And yes, as long as you do it after the progressbar that indicate that it’s working are gone.

Ah I’ve found the error message - its saying it can’t do it due to permissions - just checked and my www folder is assigned to root - I’ll change it to homeassistant (my user) and try again

0reactions
Shaun-Harrisoncommented, Jun 5, 2019

It’s working now - apologies ! Closing the bug

Read more comments on GitHub >

github_iconTop Results From Across the Web

javascript - .js files not being called on pages included in folders
I think your problem is about paths. When you execute: <script src="../js/jquery.min.js"></script> in your browser, it looks at the URL and ...
Read more >
Dealing with files - Learn web development | MDN
When you are working on a website locally on your computer, you should keep all the related files in a single folder that...
Read more >
Folders with .js files that I didnt create are in my pictures ...
I went to the site and tried to download that cat image by right clicking and ->*save as* and it defaults the save...
Read more >
Working with JavaScript in Visual Studio Code
A JavaScript project is the source files of the project and should not include the derived or packaged files (such as a dist...
Read more >
Some files don't show up in Sources - Google Groups
js files in the Sources? Generally they don't show and Ctrl-O doesn't list it. (And sometimes they do show up - no idea...
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