Import error with unexpected token

• Jun 18, 2025 - 11:41

Hello and apologies for cross-posting here as I am not quite sure if the issue is indeed a bug, but it has the look of it, a debut output Unexpected tokenstring literal'\n" `.
More details on https://musescore.org/en/node/379847
Kind regards, peter.


Comments

To reproduce, on a command shell:

git clone https://github.com/PeterWurmsdobler/musescore
cp -r musescore/simplicior ~/Documents/MuseScore4/Plugins
~/.local/bin/MuseScore-Studio-4.5.1.250800846-x86_64.AppImage -d

Enable plugin, load a score and run the plugin notation/Simplicior Notation

For the records. Through trial and error I think it has become clear that an imported javascript file cannot in turn import another file. I wonder if this limitation to modular software design is intended, comes with the QmlEngine and could be overcome somehow.

Do you still have an unanswered question? Please log in first to post your question.