You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All works fine in development. When the app is build I get the error :
bundle.js:1 Uncaught DOMException: Failed to execute 'pushState' on 'History': A history state object with URL 'file:///home/jeff/myproject/public/404' cannot be created in a document with origin 'null' and URL 'file:///home/jeff/myproject/public/index.html'.
at file:///home/jeff/myproject/public/build/bundle.js:1:7764
at Object.setActive (file:///home/jeff/myproject/public/build/bundle.js:1:7871)
at Object.setActiveRoute (file:///home/jeff/myproject/public/build/bundle.js:1:11765)
at file:///home/jeff/myproject/public/build/bundle.js:1:15150
at e (file:///home/jeff/myproject/public/build/bundle.js:1:68)
at Array.map (<anonymous>)
at file:///home/jeff/myproject/public/build/bundle.js:1:2095
at C (file:///home/jeff/myproject/public/build/bundle.js:1:1487)
at V (file:///home/jeff/myproject/public/build/bundle.js:1:3079)
at new target (file:///home/jeff/myproject/public/build/bundle.js:1:631021)
Should I set a default route ? could not find this in your documentation.
And if i set a 404 route with my default component it does'nt solve.
I need a standalone single page application. I mean all should be client side, with no server. I understood it was the aim of svelte-router. So it should work with file protocol. What am I doing wrong ?
The text was updated successfully, but these errors were encountered:
All works fine in development. When the app is build I get the error :
Should I set a default route ? could not find this in your documentation.
And if i set a 404 route with my default component it does'nt solve.
I need a standalone single page application. I mean all should be client side, with no server. I understood it was the aim of svelte-router. So it should work with file protocol. What am I doing wrong ?
The text was updated successfully, but these errors were encountered: