Umbraco 17 custom dashboard error when following tutorial

Hi,

I found my issue - I was running “vite build” instead of “npm run build” - seems to have solved my issue - not sure why though as the npm run build just runs vite build!