@julian I'm still getting the same error. Do I have to uninstall the custom theme first (It's currently active as the main theme).
I probably did it the wrong way. I basically copied harmony in node_modules and rename it and did my edits from there.