I was trying out some GitHub maintenance actions and it looks like the modern GitHub Action build env isn't compatible with the version of Canvas this npm library uses. If it is possible, it looks like an update to that package should solve some build issues in more recent environments.