After matching up deps, files, webpack, etc. I've almost got my add-on up and running again but I'm getting a weird error relating to my server functions when I run with npm start.

I'm not really sure why it's happening... I can see my code.gs has all the ui.js and sheets.js functions in it as I've exported them from index.ts
Any ideas?