-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
[BUG] FastifyError [Error]: fastify-plugin: @fastify/helmet - expected '5.x' fastify version, '4.28.1' is installed #2991
Comments
Just at first glance, the fastify version locked in server/package.json is 4.28.1, however the fastify helmet plugin is locked in same file to 12.0.1. If we look at the code for helmet fastify I found searching online this version really wants 5.x: https://www.npmjs.com/package/@fastify/helmet?activeTab=code Honestly dont know how to resolve, maybe downgrade the helmet plugin back to what it was before the change to 11.1.1? |
Hello @gareins, But there is a way to update fastify to 5? The problem behind this i that when I try to play a video an error message appear after some seconds and seems that the only way to resolve is use the beta and add po token Best Regards |
Hi, I am but just a busy parent trying to get this running. I also had the same errors you opened ( #2988 and #2989 ), I tried to build the docker myself and got a little bit further ( #2968 ) but I dont have the time to actually try running and see this error you posted here...
Can you explain, what is this po token? |
Sure, seems that the only solution to make viewtube working again is using the po toke, you can see here But unfortunately only works with new library |
Hi, as I said this is gonna be slow :) I have the playback working now, with the token and stuff. So the way I do it is I clone my fork (https://github.com/gareins/viewtube.git) into folder "git-repo". Then I set the token values in
This will build (I did some changes so that the build works, explained in #2968) your own image with the tokens you want. Hope this helps! |
Hello @gareins,
I have also changed the package.json to point to 5.0.0 of fastify file and disabled the lockfile during the build and install but seems that still find the 4.28.1 version... :-( do you have some suggestion? Best Regard |
Ok, I agree with the error, I just don't know why I dont get it. Maybe some difference in logging level. I get
Do you get any messages after the error, or is it fatal and the viewtube container just refuses to continue loading? |
Hello @gareins Best Regards |
Describe the Bug
Cannot run the dev and nightly build the error "FastifyError [Error]: fastify-plugin: @fastify/helmet - expected '5.x' fastify version, '4.28.1' is installed" apper as soon as viewtube container start.
Steps to Reproduce the Bug
Expected Behaviour
The container should start
Screenshot/Screen recording
Device Info
Additional Context
The text was updated successfully, but these errors were encountered: