senorioano
WWasp
•Created by senorioano on 10/13/2024 in #🙋questions
backend
I guess I did hallucinate. Not my best day haha
18 replies
WWasp
•Created by senorioano on 10/13/2024 in #🙋questions
backend
Since you are a member of the staff @miho . What about the apache license? Am I able to make money from my SAAS for "free"?
18 replies
WWasp
•Created by senorioano on 10/13/2024 in #🙋questions
backend
Yes I was checking the doc haha ^^
18 replies
WWasp
•Created by senorioano on 10/13/2024 in #🙋questions
backend
Nah I was talking about the development of the backend of my app, the server, not deployment. Should I use next.js api routing? I am using opensaas btw @kapa.ai
18 replies
WWasp
•Created by senorioano on 10/11/2024 in #🙋questions
Added shadcn, and now app won't start
I followed some github issue but now I got this error :
[ Wasp ] ext-src/components/foldable-list.tsx(18,7): error TS2395: Individual declarations in merged declaration 'FoldableList' must be all exported or all local.
[ Wasp ] ext-src/components/foldable-list.tsx(97,17): error TS2395: Individual declarations in merged declaration 'FoldableList' must be all exported or all local.
[ Wasp ] ext-src/components/foldable-list.tsx(129,24): error TS2322: Type '{ items: ListItem[]; }' is not assignable to type 'IntrinsicAttributes'.
[ Wasp ] Property 'items' does not exist on type 'IntrinsicAttributes'.
@kapa.ai
12 replies
WWasp
•Created by senorioano on 10/11/2024 in #🙋questions
Added shadcn, and now app won't start
@kapa.ai yet I defined the paths in the tsconfig.json :
{
"compilerOptions": {
"module": "esnext",
"target": "esnext",
// We're bundling all code in the end so this is the most appropriate option,
// it's also important for autocomplete to work properly.
"moduleResolution": "bundler",
// JSX support
"jsx": "preserve",
"strict": true,
// Allow default imports.
"esModuleInterop": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"typeRoots": [
// This is needed to properly support Vitest testing with jest-dom matchers.
// Types for jest-dom are not recognized automatically and Typescript complains
// about missing types e.g. when using
toBeInTheDocument
and other matchers.
"node_modules/@testing-library",
// Specifying type roots overrides the default behavior of looking at the
// node_modules/@types folder so we had to list it explicitly.
// Source 1: https://www.typescriptlang.org/tsconfig#typeRoots
// Source 2: https://github.com/testing-library/jest-dom/issues/546#issuecomment-1889884843
"node_modules/@types"
],
// Since this TS config is used only for IDE support and not for
// compilation, the following directory doesn't exist. We need to specify
// it to prevent this error:
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
"outDir": ".wasp/phantom",
"paths": {
"@/": ["./src/"],
"@/components/ui/button": ["./src/components/ui/button.ts"],
}
}
}
Still same issue12 replies
WWasp
•Created by senorioano on 10/10/2024 in #🙋questions
First Time using opensaas, went through this error
node js version
11 replies
WWasp
•Created by senorioano on 10/10/2024 in #🙋questions
First Time using opensaas, went through this error
nvmd
11 replies
WWasp
•Created by senorioano on 10/10/2024 in #🙋questions
Error while compiling the project
@kapa.ai
16 replies
WWasp
•Created by senorioano on 10/10/2024 in #🙋questions
Error while compiling the project
now i have this issue
16 replies
WWasp
•Created by senorioano on 10/10/2024 in #🙋questions
Error while compiling the project
@kapa.ai how can i reinstall prisma client
16 replies
WWasp
•Created by senorioano on 10/10/2024 in #🙋questions
First Time using opensaas, went through this error
I have this error
11 replies
WWasp
•Created by senorioano on 10/10/2024 in #🙋questions
First Time using opensaas, went through this error
[ Wasp ] prisma-runtime-library.d.ts(2,26): error TS2307: Cannot find module '@prisma/client/runtime' or its corresponding type declarations.
[ Wasp ] server/_types/index.ts(6,8): error TS2307: Cannot find module 'express-serve-static-core' or its corresponding type declarations.
[ Wasp ] tsconfig.json(2,14): error TS6053: File '@tsconfig/node18/tsconfig.json' not found.
[ Wasp ] ../../../../node_modules/@testing-library/jest-dom/types/jest.d.ts(1,23): error TS2688: Cannot find type definition file for 'jest'.
[ Wasp ] ../../../../node_modules/@testing-library/jest-dom/types/jest.d.ts(9,27): error TS2304: Cannot find name 'expect'.
[ Wasp ] ../../../../node_modules/vitest/node_modules/vite/dist/node/index.d.ts(5,41): error TS2307: Cannot find module 'rollup/parseAst' or its corresponding type declarations.
[ Wasp ] There are types at '/home/mimi/solutione/solutione-wasp/solutione/node_modules/vitest/node_modules/rollup/dist/parseAst.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.
[ Wasp ] ../../../../node_modules/wasp/server/_types/index.ts(6,8): error TS2307: Cannot find module 'express-serve-static-core' or its corresponding type declarations.
❌ --- [Error] Your wasp project failed to compile: -------------------------------
- SDK build failed with exit code: 2
❌ --- [Error] Compilation of wasp project failed: --------------------------------
1 errors found
11 replies