I'm not sure if this will be helpful, but in my case, since it was a TypeScript project, deleting all .js extension files from the dashboard and shared-theme folders made it work. However, the compile errors still remain.