ArDev
WWasp-lang
•Created by ArDev on 10/22/2024 in #🙋questions
Wasp db migrate-dev questions
What does db migrate-dev actually do? explain
does it migrate my local database to my database_url?
14 replies
WWasp-lang
•Created by ArDev on 10/21/2024 in #🙋questions
Your wasp project has successfully compiled is the last message
So when i use database_url set to my supabase url, and then do wasp start - it does not send me into a new tab or initate localhost:3000?
its like it gets stuck but there is no error all it says is just - Your wasp project has successfully compiled.
9 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #🙋questions
fly deployment issues
flyctl deploy --remote-only --config ../../fly.toml
==> Verifying app config
Validating ../../fly.toml
✓ Configuration is valid
--> Verified app config
==> Building image
==> Building image with Depot
--> build: ()
[+] Building 1.3s (6/9)
=> [internal] load build definition from Dockerfile0.0s => => transferring dockerfile: 3.51kB 0.0s => [internal] load metadata for docker.io/library/node:200.6s => [internal] load .dockerignore 0.0s => => transferring context: 64B 0.0s => [internal] load build context 0.5s => => transferring context: 2B 0.5s => [base 1/5] FROM docker.io/library/node:20@sha256:a5e0ed56f2c20b9689e0f7dd498cac7e08d2a3a283e92d9304e7b9b83e3c6ff30.0s => => resolve docker.io/library/node:20@sha256:a5e0ed56f2c20b9689e0f7dd498cac7e08d2a3a283e92d9304e7b9b83e3c6ff3 0.0s => ERROR [base 2/5] COPY .wasp/build/ /app/ 0.0s -
=> [internal] load build definition from Dockerfile0.0s => => transferring dockerfile: 3.51kB 0.0s => [internal] load metadata for docker.io/library/node:200.6s => [internal] load .dockerignore 0.0s => => transferring context: 64B 0.0s => [internal] load build context 0.5s => => transferring context: 2B 0.5s => [base 1/5] FROM docker.io/library/node:20@sha256:a5e0ed56f2c20b9689e0f7dd498cac7e08d2a3a283e92d9304e7b9b83e3c6ff30.0s => => resolve docker.io/library/node:20@sha256:a5e0ed56f2c20b9689e0f7dd498cac7e08d2a3a283e92d9304e7b9b83e3c6ff3 0.0s => ERROR [base 2/5] COPY .wasp/build/ /app/ 0.0s -
[base 2/5] COPY .wasp/build/ /app/:==> Building image Building image with Depot --> build: () [+] Building 0.3s (6/9) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 3.51kB 0.0s => [internal] load metadata for docker.io/library/node:20 0.2s => [internal] load .dockerignore 0.0s => => transferring context: 64B 0.0s => [internal] load build context 0.0s => => transferring context: 2B 0.0s => [base 1/5] FROM docker.io/library/node:20@sha256:a5e0ed56f2c20b9689e0f7dd498cac7e08d2a3a283e92d9304e7b9b83e3c6ff3 0.0s => => resolve docker.io/library/node:20@sha256:a5e0ed56f2c20b9689e0f7dd498cac7e08d2a3a283e92d9304e7b9b83e3c6ff3 0.0s => ERROR [base 2/5] COPY .wasp/build/ /app/0.0s
[base 2/5] COPY .wasp/build/ /app/:Error: failed to fetch an image or build from source: error building: failed to solve: failed to compute cache key: failed to calculate checksum of ref xii15ojevevjrvuc91l38e6gr::binm88k6v471i483hpa3pjput: "/.wasp/build": not found
58 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #🙋questions
Migration issues
I'm migrating from .14 to .15 and i get this - "\x1B[33m[\x1B[0m \x1B[33mWasp\x1B[0m \x1B[33m]\x1B[0m ext-src/client/auth/PasswordReset.tsx(7,6): error TS2559: Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes'.\n" +
import { ResetPasswordForm } from 'wasp/client/auth';
import { Link } from 'react-router-dom';
import { AuthWrapper } from './authWrapper';
export function PasswordReset() {
return (
<AuthWrapper>
<ResetPasswordForm />
<br />
<span className='text-sm font-medium text-gray-900'>
If everything is okay, <Link to='/login'>go to login</Link>
</span>
</AuthWrapper>
);
}
Type '{ children: Element[]; }' has no properties in common with type 'IntrinsicAttributes'.ts(2559)
(alias) function AuthWrapper(): React.JSX.Element
import AuthWrapperimport { ReactNode } from 'react';
import { Outlet } from 'react-router-dom'
export function AuthWrapper() {
return (
<div className='flex min-h-full flex-col justify-center pt-10 sm:px-6 lg:px-8'>
<div className='sm:mx-auto sm:w-full sm:max-w-md'>
<div className='bg-white py-8 px-4 shadow-xl ring-1 ring-gray-900/10 sm:rounded-lg sm:px-10 dark:bg-white dark:text-gray-900'>
<div className='-mt-8'>
<Outlet />
</div>
</div>
</div>
</div>
);
}
66 replies
WWasp-lang
•Created by ArDev on 10/19/2024 in #🙋questions
Websocket queries
how does the usewebsocket work?
i have in main.wasp
webSocket: {
fn: import { webSocketFn } from "@src/server/hume/webSocket.js",
autoConnect: true
},
when i import the socket - import { useWebSocket } from 'wasp/client/webSocket';
exporting - export const webSocketFn = async (io, context) => {
12 replies
WWasp-lang
•Created by ArDev on 10/16/2024 in #🙋questions
Other places to deploy server
What are some other places to deply wasp server, can i deploy on netlify?
22 replies
WWasp-lang
•Created by ArDev on 10/16/2024 in #🙋questions
Issue with dotenv
-- [Error] Your wasp project failed to compile: -------------------------------
- Error: Dependency conflict for user dependency (dotenv, ^16.0.2): Version must be set to the exactly the same version as the one wasp is using: ^16.0.3
❌ --- [Error] Compilation of wasp project failed: --------------------------------
1 errors found
usr/Projects/revsion_ai/revision_ai/app$ wasp db migrate-dev
🐝 --- Compiling wasp project... --------------------------------------------------
❌ --- [Error] Your wasp project failed to compile: -------------------------------
- Error: Dependency conflict for user dependency (dotenv, ^16.0.3): Version must be set to the exactly the same version as the one wasp is using: ^16.0.2
❌ --- [Error] Compilation of wasp project failed: --------------------------------
1 errors found
6 replies
WWasp-lang
•Created by ArDev on 10/15/2024 in #🙋questions
What is entites?
what does the entites parameter in the main.wasp file mean?
8 replies
WWasp-lang
•Created by ArDev on 10/14/2024 in #🙋questions
How to send emails with Mailgun
What code do I need to use to send emails with Mailgun?
12 replies
WWasp-lang
•Created by ArDev on 10/9/2024 in #🙋questions
Blog Questions
How do I change the style of the blog in opensaas?
17 replies
WWasp-lang
•Created by ArDev on 9/21/2024 in #🙋questions
Quick question about Wasp Operations
Are wasp operations exposed on the client?
9 replies
WWasp-lang
•Created by ArDev on 9/20/2024 in #🙋questions
Github auth "All user data"
When i create an oauth application, it says it will be able to read/write on all user data in github. i do no want this - how can i make it so all wasp requests is to read email - thats all
10 replies
WWasp-lang
•Created by ArDev on 9/11/2024 in #🙋questions
Koyeb Issues
Are you familiar with koyeb?
43 replies
WWasp-lang
•Created by ArDev on 9/9/2024 in #🙋questions
Why is my deployed project ui different to my local ui?
When i deploy to railway for some reason one of the components width is reduced? its smaller than it is when doing wasp start locally
30 replies
WWasp-lang
•Created by ArDev on 9/7/2024 in #🙋questions
railway issues
Please make sure your database server is running at
meticulous-empathy.railway.internal
:5432
.
what do i do?38 replies
WWasp-lang
•Created by ArDev on 9/7/2024 in #🙋questions
Netlify deployment query
Full guide on netlify deployment please, kapa
19 replies
WWasp-lang
•Created by ArDev on 9/7/2024 in #🙋questions
wasp-bin: npx: streamingProcess: chdir: invalid argument (Bad file descriptor)
wasp-bin: npx: streamingProcess: chdir: invalid argument (Bad file descriptor)
13 replies
WWasp-lang
•Created by ArDev on 9/3/2024 in #🙋questions
Migration Issues 0.14
I migrated to 0.14 and currently getting the issue - [ Wasp ] ext-src/client/admin/components/Header.tsx(1,15): error TS2305: Module '"wasp/auth/types"' has no exported member 'AuthUser'.
11 replies
WWasp-lang
•Created by ArDev on 9/3/2024 in #🙋questions
I don't have cookie consent files
for some reason i dont have the cookie-consent folder under /components?
54 replies
WWasp-lang
•Created by ArDev on 8/26/2024 in #🙋questions
How to get custom import aliases
how can i implement custom import aliases in wasp? for example shadcn ui library
8 replies