ArDev
WWasp-lang
•Created by ArDev on 10/22/2024 in #đŸ™‹questions
Wasp db migrate-dev questions
No im good as mentioned in how i tagged this ticket
14 replies
WWasp-lang
•Created by ArDev on 10/22/2024 in #đŸ™‹questions
Wasp db migrate-dev questions
@kapa.ai but i get this - [+] Added unique index on columns (email)
[+] Added unique index on columns (username)
- The migrations recorded in the database diverge from the local migrations directory.
✔ We need to reset the "public" schema at "aws-0-us-east-1.pooler.supabase.com:5432"
Do you want to continue? All data will be lost. … no
14 replies
WWasp-lang
•Created by ArDev on 10/22/2024 in #đŸ™‹questions
Wasp db migrate-dev questions
@kapa.ai but i get this?
14 replies
WWasp-lang
•Created by AibohpDealer54 on 6/13/2024 in #đŸ™‹questions
Having Trouble integrating Supabase with Wasp
also had this issue, so happy this ticket was here thx man!
39 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
fly deployment issues
this solved it ^
58 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
fly deployment issues
ok got it fixed!!!!!!!!!!!!!!!!!!!!!!! - https://discord.com/channels/686873244791210014/1250831665995972729
58 replies
WWasp-lang
•Created by ArDev on 10/21/2024 in #đŸ™‹questions
Your wasp project has successfully compiled is the last message
oh hey guys so this discord actually explains it - https://discord.com/channels/686873244791210014/1250831665995972729
9 replies
WWasp-lang
•Created by ArDev on 10/21/2024 in #đŸ™‹questions
Your wasp project has successfully compiled is the last message
@kapa.ai its when i set database_url to something it just does not go past - ✅ --- Your wasp project has successfully compiled. -----
9 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
fly deployment issues
im using this guide https://wasp-lang.dev/docs/advanced/deployment/manually#set-up-a-flyio-app
58 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
fly deployment issues
2024-10-21T16:39:57.507 proxy[3d8ddedb396d58] lhr [error] [PC01] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)
2024-10-21T16:39:57.532 proxy[e286033c440e58] lhr [error] [PC01] instance refused connection. is your app listening on 0.0.0.0:8080? make sure it is not only listening on 127.0.0.1 (hint: look at your startup logs, servers often print the address they are listening on)
i get this
58 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
fly deployment issues
my client is the same on netlify
58 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
fly deployment issues
which is weird because i am migrating my deployment from railway to fly.io (the server)
58 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
fly deployment issues
@miho I am getting cors issues when deploying to fly.io
58 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
Migration issues
@kapa.ai in what script is the lightmode/dark mode?
66 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
Migration issues
@kapa.ai im getting this - react-router-dom.js?v=56aa71f5:214 You rendered descendant <Routes> (or called
useRoutes()
) at "/" (under <Route path="/">) but the parent route path has no trailing "". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
Please change the parent <Route path="/"> to <Route path="">.66 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
Migration issues
@kapa.ai give me the code again
66 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
Migration issues
@kapa.ai so update my code - You rendered descendant <Routes> (or called
useRoutes()
) at "/" (under <Route path="/">) but the parent route path has no trailing "". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render
Please change the parent <Route path="/"> to <Route path="">.
- import React, { Suspense, lazy, useEffect } from 'react';
import { useAuth } from 'wasp/client/auth';import { updateCurrentUser } from 'wasp/client/operations';
import './Main.css';
import AppNavBar from './components/AppNavBar';
import { useMemo, ReactNode } from 'react';
import { useLocation, Route, Outlet, Routes } from 'react-router-dom';
import CookieConsentBanner from './cookies/banner';
import YoutubeSearchPage from './pages/YoutubeSearchPage';
export default function App() {
const location = useLocation();
const { data: user } = useAuth();
const shouldDisplayAppNavBar = useMemo(() => {
return location.pathname !== '/' && location.pathname !== '/login' && location.pathname !== '/signup';
}, [location]);
return (
<div className="w-full min-h-screen bg-gradient-to-br from-blue-900 via-purple-900 to-pink-900 text-white overflow-x-hidden flex flex-col">
{shouldDisplayAppNavBar && <AppNavBar />}
<div className="flex-grow">
<Suspense fallback={<div>Loading...</div>}>
<Routes>
<Route path="" element={
isAdminDashboard ? (
<Route path="/admin/" element={
<Suspense fallback={<div>Loading admin...</div>}>
<Outlet />
</Suspense>
} />
) : (
<Outlet />
)
} />
</Routes>
</Suspense>
</div>
<CookieConsentBanner />
</div>
);
}66 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
Migration issues
fix my code - You rendered descendant <Routes> (or called
useRoutes()
) at "/" (under <Route path="/">) but the parent route path has no trailing "". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render
Please change the parent <Route path="/"> to <Route path="">.
- import React, { Suspense, lazy, useEffect } from 'react';
import { useAuth } from 'wasp/client/auth';import { updateCurrentUser } from 'wasp/client/operations';
import './Main.css';
import AppNavBar from './components/AppNavBar';
import { useMemo, ReactNode } from 'react';
import { useLocation, Route, Outlet, Routes } from 'react-router-dom';
import CookieConsentBanner from './cookies/banner';
import YoutubeSearchPage from './pages/YoutubeSearchPage';
export default function App() {
const location = useLocation();
const { data: user } = useAuth();
const shouldDisplayAppNavBar = useMemo(() => {
return location.pathname !== '/' && location.pathname !== '/login' && location.pathname !== '/signup';
}, [location]);
return (
<div className="w-full min-h-screen bg-gradient-to-br from-blue-900 via-purple-900 to-pink-900 text-white overflow-x-hidden flex flex-col">
{shouldDisplayAppNavBar && <AppNavBar />}
<div className="flex-grow">
<Suspense fallback={<div>Loading...</div>}>
<Routes>
<Route path="" element={
isAdminDashboard ? (
<Route path="/admin/" element={
<Suspense fallback={<div>Loading admin...</div>}>
<Outlet />
</Suspense>
} />
) : (
<Outlet />
)
} />
</Routes>
</Suspense>
</div>
<CookieConsentBanner />
</div>
);
}
@kapa.ai66 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #đŸ™‹questions
Migration issues
fix my code - You rendered descendant <Routes> (or called
useRoutes()
) at "/" (under <Route path="/">) but the parent route path has no trailing "". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render
Please change the parent <Route path="/"> to <Route path="">.
- import React, { Suspense, lazy, useEffect } from 'react';
import { useAuth } from 'wasp/client/auth';import { updateCurrentUser } from 'wasp/client/operations';
import './Main.css';
import AppNavBar from './components/AppNavBar';
import { useMemo, ReactNode } from 'react';
import { useLocation, Route, Outlet, Routes } from 'react-router-dom';
import CookieConsentBanner from './cookies/banner';
import YoutubeSearchPage from './pages/YoutubeSearchPage';
export default function App() {
const location = useLocation();
const { data: user } = useAuth();
const shouldDisplayAppNavBar = useMemo(() => {
return location.pathname !== '/' && location.pathname !== '/login' && location.pathname !== '/signup';
}, [location]);
return (
<div className="w-full min-h-screen bg-gradient-to-br from-blue-900 via-purple-900 to-pink-900 text-white overflow-x-hidden flex flex-col">
{shouldDisplayAppNavBar && <AppNavBar />}
<div className="flex-grow">
<Suspense fallback={<div>Loading...</div>}>
<Routes>
<Route path="" element={
isAdminDashboard ? (
<Route path="/admin/" element={
<Suspense fallback={<div>Loading admin...</div>}>
<Outlet />
</Suspense>
} />
) : (
<Outlet />
)
} />
</Routes>
</Suspense>
</div>
<CookieConsentBanner />
</div>
);
}66 replies