Uncaught TypeError: Cannot read properties of null (reading 'title') at Gp export #993
-
\title "My Song" I have this text file in a blob URL that I try to export with this code (a copy of the one on the page): const exporter = new alphaTab.exporter.Gp7Exporter(); // trigger download Does anybody have an idea why it returns me this error: alphaTab.js:40180
I'm newbie with alphatab and really could use some help. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hard to tell with a full example what is happening here. I put it into a Fiddle and export seems to be working fine with https://jsfiddle.net/danielku15/4dgomebc/ From the error it seems that |
Beta Was this translation helpful? Give feedback.
Hard to tell with a full example what is happening here. I put it into a Fiddle and export seems to be working fine with https://jsfiddle.net/danielku15/4dgomebc/
From the error it seems that
api.score
might be actually null in your case when you are calling the exporter.