New install just gives blank screen on anything higher than Umbraco 13

I’m new to Umbraco and trying to do a fresh install of Umbraco 16 via dotnet, however all I get is a blank screen, I tried 15 and get the same issue, I’ve now even tried 17beta and exactly the same. 13 is the only version that loads the database setup page and then creates the DB and lets me login to the back end

In the browser console I get Uncaught SyntaxError: Unexpected token ’{‘ on app.element.js:268
Line 268 is the following: static { this.styles = css `

There must be something really basic I’m missing.

Please can someone help, it’s driving me crazy

How do you install Umbraco?

I usually do this:

First, make sure we have the latest templates

dotnet new install Umbraco.Templates

Then use the template with a version parameter:

dotnet new umbraco --version 16.3.4

Give the project a name, go into the directory and run it:

dotnet run

This is what I’ve done with the exception of dotnet build before the run

Which browser and version are you using? It looks like it cannot read modern JavaScript syntax?

Also, have you tried to use incognito mode (or privacy mode, or something similar)? Just to rule out any browser plugins that would mess with Umbraco.

1 Like

Along with the above advice, this is a nice site which can build your commands to run, by selecting the version and any packages