-
Notifications
You must be signed in to change notification settings - Fork 194
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]: npm run dev runs into a reference error with Lottie #1629
Comments
hey @LK-RPN . So i found this: Gamote/lottie-react#101 I have honestly never ran this app on windows so I assume its something related to how node runs on windows or the node version. |
Hey @DonKoko , thanks for your reply! If I'm honest I'm kind of new to all of this self hosting. We just recently killed the Hypervisor running VMWare Sphere and just installed Proxmox on it a week or two ago, it's kind of a learning by doing project. I think it could be much easier (and a lot more efficient) theoretically running this directly in a Linux VM instead of the Linux environment on Windows. However, since I don't know much about Linux, I'm not really sure how to run Supabase CLI on Linux when it requires Docker Desktop installed, hence I'm doing this all on Windows. I only have previous experience with MongoDB, so I assumed it was going to be somewhat similar to that, but I was very wrong. |
Yeah its quite different from Mongo, but no worries, I will try to help you as much as I can. Please make sure to check your node version. From what i find this is the main reason the issue could be happening. Try changing node version to see if it works. |
I downgraded my node.js version to 20.9.0 now. npm is yelling at me that npm 11 does not support this older node version but that should be easily fixable by downgrading npm later on. When running
After that it opens the shelf.nu login window. I'm not quite sure what I should use to login as I don't think I have created any users. If I understand correctly from the documentation, I am now still in the setup phase and need to follow the "Deployment" part of the documentation and install fly.io, create the S3 Buckets and do the GitHub actions now to actually get my working, self hosted copy of shelf, right? |
Contact Details
No response
What happened?
When first installing shelf.nu locally using Supabase CLI, following all the steps for the installation works fine until the step where you have to run "npm run dev" for the first time.
It starts the server just fine, but when trying to access the web GUI (it doesn't matter if it is via localhost or via the network) it loads for a while, then the console spits out the following error:
The webpage only shows "Internal Server Error".
The machine is running on a ProxmoxVE VM running Windows 10 22H2 with 16 GB of RAM and 16 CPU cores.
EDIT TO ANYONE READING THIS BACK LATER ON:
The error was presumably caused by an interaction between Lottie and node.js version 22. Downgrading the node.js version to 20.9.0 has fixed this error.
What is the expected behaviour?
I expected the page to load normally.
Version
Self-hosted
What browsers are you seeing the problem on?
Microsoft Edge
Relevant log output
The text was updated successfully, but these errors were encountered: