-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Navigation not working on electron.js + next.js #16595
Labels
good first issue
Easy to fix issues, good for newcomers
Milestone
Comments
jambulud
changed the title
Navigation not working on electron + nextjs
Navigation not working on electron + next.js
Aug 26, 2020
jambulud
changed the title
Navigation not working on electron + next.js
Navigation not working on electron.js + next.js
Aug 26, 2020
Same as #16456 ? |
Hi! I'm interested in this issue |
As in #16456, downgrading to next@9.5.1 worked for me. |
Cow258
added a commit
to Cow258/next.js
that referenced
this issue
Aug 30, 2020
- Added support for protocols other than http and https - Added test case Fixes vercel#16456, vercel#16595
Cow258
added a commit
to Cow258/next.js
that referenced
this issue
Sep 11, 2020
- Added support for protocols other than http and https - Added unit test - Added integration test Fixes vercel#16456 Fixes vercel#16595
Cow258
added a commit
to Cow258/next.js
that referenced
this issue
Sep 28, 2020
- Added support for protocols other than http and https - Added unit test - Added integration test Fixes vercel#16456 Fixes vercel#16595
Cow258
added a commit
to Cow258/next.js
that referenced
this issue
Oct 26, 2020
- Added support for protocols other than http and https - Added unit test - Added integration test Fixes vercel#16456 Fixes vercel#16595
I have the same issue with Next 11.1.2 |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Describe the bug
When trying to navigate to a different page using next.js+ typescript + electron the click over the link does nothing
To Reproduce
with-electron-typescript$ yarn
with-electron-typescript$ yarn pack-app
Expected behavior
The application should navigate to the specified page:
Click on home -- navigate to --> pages/home
Click on about -- navigate to --> pages/about
...and so on.
Screenshots
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 underC://
Shouldn't the scripts' src in the first picture link to
/C://_next/...
instead of/_next/...
to getfile:///C:/_next/...
?System information
Additional context
<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 --> ./about
The text was updated successfully, but these errors were encountered: