When trying to navigate to a different page using next.js+ typescript + electron the click over the link does nothing
with-electron-typescript$ yarnwith-electron-typescript$ yarn pack-appThe application should navigate to the specified page:
Click on home -- navigate to --> pages/home
Click on about -- navigate to --> pages/about
...and so on.
The links seems to be rendered properly, linking to file:///

the src of the scripts is /_next/... (file:///_next/...)

But if I go to Sources tab then it shows that the _next/ resources are under C://

Shouldn't the scripts' src in the first picture link to /C://_next/... instead of /_next/... to get file:///C:/_next/...?
<base href="./" /> but it does not solve the routing issue because base tag does not work with absolute paths (like /about, /_next/) but with relative ones (./about, ./_next/)basePath: './' to transform /about --> ./aboutHi! I'm interested in this issue 鈽猴笍
As in #16456, downgrading to [email protected] worked for me.
Most helpful comment
As in #16456, downgrading to [email protected] worked for me.