-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Error while running own instance of the app #298
Comments
Found a workaround from this thread. Doesn't seem like an ideal solution though diff --git a/src/pages/app.js b/src/pages/app.js
index e77557f..6d46e70 100644
--- a/src/pages/app.js
+++ b/src/pages/app.js
@@ -9,7 +9,7 @@ import Dashboard from './app/dashboard';
const App = () => (
<Wrapper>
<Router>
- <Redirect noThrow from="/app" to="/app/dashboard" exact />
+ <Redirect noThrow path="/app" to="/app/dashboard" exact />
<PrivateRoute path="/app/dashboard" component={Dashboard} />
<PrivateRoute path="/app/builder/:id" component={Builder} />
<NotFound default />
diff --git a/src/pages/r.js b/src/pages/r.js
index 5392c59..9cc01d8 100644
--- a/src/pages/r.js
+++ b/src/pages/r.js
@@ -7,7 +7,7 @@ import NotFound from './404';
const ResumeRouter = () => (
<Wrapper>
<Router>
- <Redirect noThrow from="/r" to="/" exact />
+ <Redirect noThrow path="/r" to="/" exact />
<ResumeViewer path="r/:id" />
<NotFound default />
</Router> |
Thanks mate, its working now. |
I don't think the issue should be closed since there isn't a solution yet. The workaround above just bypasses the problem of webpack and the hot loader not working well together. Here is the relevant Gatsby issue: gatsbyjs/gatsby#11934 The problem is only seen while running the development server. If you use There are two solutions listed in the link above:
I think solution 2 is the way to go since |
I prematurely closed the issue, my mistake. I'm new to git and react. |
No worries! The author, @AmruthPillai, can re-open the issue if he wishes. Thanks for filing the issue in the first place, it helped me realize I wasn't the only one seeing the problem. |
Will look into this :) Thank you for bringing it to my attention @robert-w-gries and @Mohan-cloud! |
Setting the |
This also fixed it for me. |
Closing this in favor of Reactive Resume v3 release. In the meantime, if you are able to, please consider donating to keep supporting the project: https://www.buymeacoffee.com/AmruthPillai :) Thank you! |
I was able to login using the anonymous option. But when I visit the http://localhost:8000/app/dashboard link, I get the following error.
The text was updated successfully, but these errors were encountered: