Running N8N in development mode fails

Im trying to run the repo in dev mode.

I install the dependencies and then run NPM run dev but the app crashes

I get “[nodemon] app crashed - waiting for file changes before starting…” in the terminal

Another error I see in the terminal

‘/Users/joshuakaiser/Desktop/automationProject/n8n-master-3/packages/cli/d ist/src/PublicApi/swaggerTheme.css’

Any help would be appreciated.

It looks like the design client spins up on port 8080 but I just get a spinner and a message saying " Error connecting to n8n"

If the Swagger theme is not found, it is possible you have not built: npm run build