Magic incantations to make a local module work

Solved.

Simple syntax error.

One export statement had a trailing comma after the items

A simple syntax error can cause problems anywhere. Error messages and side effects don’t always make it obvious.

Didn’t take long to find.

This is still a little bit of a fidgety process though all works fine and the fault was all mine.