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

"Unhandled rejection: structuredClone is not defined" - Upgrade Node version 16 to 18 #118

Closed
wojtek1171 opened this issue May 26, 2024 · 2 comments · Fixed by #125
Closed

Comments

@wojtek1171
Copy link

wojtek1171 commented May 26, 2024

Audiobookshelf currently crashes on FATAL: [Server] Unhandled rejection: ReferenceError: structuredClone is not defined as 'structuredClone' function was introduced in Node 17.
advplyr/audiobookshelf#2854

Yunohost version of ABS uses node 16.2. Updating version in files in /opt/node_n/ynh_app_version or /etc/yunohost/apps/audiobookshelf doesn't make any changes.

@Thovi98 Thovi98 mentioned this issue May 27, 2024
2 tasks
@wojtek1171 wojtek1171 changed the title Upgrade Node version 16 to 18 "Unhandled rejection: structuredClone is not defined" - Upgrade Node version 16 to 18 Jun 9, 2024
@wojtek1171
Copy link
Author

Any chances for that PR? I can't force ABS to use other version of node. Currently I had to change the part of the code with unhandled function to make it work.

@navanchauhan
Copy link
Collaborator

@wojtek1171 testing branch should work now. We will be merging it to master very soon

@ericgaspar ericgaspar linked a pull request Jun 9, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants