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

Can't install the latest version [BUG] #209

Closed
gand07 opened this issue Oct 23, 2023 · 2 comments
Closed

Can't install the latest version [BUG] #209

gand07 opened this issue Oct 23, 2023 · 2 comments
Labels

Comments

@gand07
Copy link

gand07 commented Oct 23, 2023

Hi
I try to install the latest version from yesterday. See screenshot with the error.

What have I missed?
wdc

Rgds
Gert

@gand07 gand07 added the bug Something isn't working label Oct 23, 2023
@Daveiano
Copy link
Owner

Hi Gert,

you missed that (from the readme):

Please note: For installation, please use the generated zip archive from a release, eg. https://github.com/Daveiano/weewx-wdc/releases/download/v3.3.0/weewx-wdc-v3.3.0.zip.
Don't download the repository directly and don't use the GitHub generated zip and tar.gz archives that come alongside the release. Always use the zip archive named weewx-wdc-vX.X.X.zip

Background: The files in the src/ directory are the source files (TypeScript, SCSS). When creating a release, these source files get transformed and optimized, and the output location of these transformed files is the location which matches the location in the install.py script. The weewx-wdc-vX.X.X.zip should contain all these transformed files (like service-worker.js or main.css), but if you download the current state of the repo, these files are not included and this will throw multiple FileNotFoundError errors while installing. For manual building of these files, see Development.

I assume you want to test the fix for GH-194? If so, you can just install the latest version 3.3.0 and replace dist/main.js with the attached file - please de-compress first, I can not upload js files directly here.

I hope one of the solutions will work for you!

@Daveiano Daveiano added support and removed bug Something isn't working labels Oct 23, 2023
@gand07
Copy link
Author

gand07 commented Oct 24, 2023

Thanks for the prompt answer. I'll try that.
Gert

@gand07 gand07 closed this as completed Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants