A close-up of a white and gray striped garage door

Remove Music Notation

I had tried to use a form of music notation that would work with source code control (not binary) and described it in Music Notation Test. It didn't work well but I left the post and did try it for a few examples.

Since then (2022), all these Dependabot updates came through and were just fine. But, starting last month (March 2025), they started failing during the build in the GitHub action. The log was a big pile of text I apparently didn't want to read.

Today, I really looked at it and saw the following…

npm error code 128
npm error An unknown git error occurred
npm error command git --no-replace-objects ls-remote ssh://git@github.com/paulrosen/MIDI.js.git
npm error git@github.com: Permission denied (publickey).
npm error fatal: Could not read from remote repository.

So, something is trying to bring in this MIDI.js dependency from GitHub but whatever it is, no longer has access. It's not me—directly!

I was trying to use the react-sheet-music package. Apparently, somewhere in there, it goes out to get MIDI.js, which I'm not even using, and that is causing my builds to fail.

Let's Get Rid of it All!

As it is much easier to enter music in a dedicated music program, let's get rid of the abc stuff.

  1. Uninstall react-sheet-music package
  2. Remove Music component file and export in components/index.js
  3. Remove special handling of abc language in Code.js
  4. Remove all special sheet-music class styles
  5. Update all the instances of abc music blocks with images.

Did it Work?

Why yes, it did!

Attributions

Photo by Joshua Hoehne (@joshua_hoehne) on Unsplash

This picture is not music notation but I like how it looks like music notation but it's all been erased. If I saw this out in the real world, I might think to myself...music paper?

Built with Gatsby from 2020 thru 2025 (and beyond?!)