That just isn't going to happen globally.
If you are from a locale where low-trust, feuding groups are interacting with each other but on a largely negative basis, and you're tired of it - then nationalism looks like something positive that can unify people into something more peaceful, and more capable of doing large scale projects together etc.
If you are from a locale where low-trust feuding nations are interacting with each other on a largely negative basis, and you're tired of it - then you want to develop a global structure which unifies them into something more peaceful, and more capable of doing large scale projects together etc.
What is it about nationalism that makes that particular level of abstraction become reified and hard to move beyond?
It seems to go back to before nationalism per se as a term. See Genhis Khan and the Mongols who ironically had little cultural influence over those they once conquered. Just uniting into a lack of war wasn't enough - they needed outside targets. Feudalism in general had that issue where a post unified country is left with an excess of fighters to burn off on foreign adventures for stability to prevent infighting fiefdom expansions. Both Japan post Sengoku Jidai and the Crusades fit that model as well. It also made them long term enemies even jf it didn't result in same generation "show up to pillage your holdings" retaliation.
People seem to prefer something which flatters their ego over something that works.
In the late 80s and 90s, I was a big fan of John Perry Barlow, the independence of cyberspace, crypto-anarchy on the internet, the idea that some combination of a uncensorable world wide internet (that could route around governments), could displace even their national currencies, could be end to end anonymous and encrypted, would be a nirvana from oppression.
The problem with the naive cyberlibertarian world view, is that it treats government as a wholly separate actor from the people who create the society they live in, and if your neighbors want to be Nazis, technological choices aren't going to protect you. It's not just "Digital Nationalism" that's rising. Nationalism is rising. You need only need at the US electing Trump, Brexit in the UK, at some of the neo-fascists elected recently in the EU.
The optimism of the 90s, has been replaced with a mentality of scarcity, and when that happens, people look to hoard, they become less generous, more tribal, they circle the wagons.
We are not going to fix Nationalism until we fix the underlying economic and social problems that are giving rise to it.