senorioano
senorioano
WWasp-lang
Created by senorioano on 10/13/2024 in #🙋questions
backend
What is the best way to make a backend for my saas?
18 replies
WWasp-lang
Created by senorioano on 10/11/2024 in #🙋questions
Added shadcn, and now app won't start
[ Wasp ] ext-src/components/foldable-list.tsx(3,24): error TS2307: Cannot find module '@/components/ui/button' or its corresponding type declarations. [ Wasp ] ext-src/components/foldable-list.tsx(4,26): error TS2307: Cannot find module '@/components/ui/checkbox' or its corresponding type declarations. [ Wasp ] ext-src/components/foldable-list.tsx(5,26): error TS2307: Cannot find module '@/components/ui/progress' or its corresponding type declarations. [ 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'. [ Wasp ] ext-src/components/ui/button.tsx(5,20): error TS2307: Cannot find module '@/lib/utils' or its corresponding type declarations. [ Wasp ] ext-src/components/ui/checkbox.tsx(5,20): error TS2307: Cannot find module '@/lib/utils' or its corresponding type declarations. [ Wasp ] ext-src/components/ui/progress.tsx(4,20): error TS2307: Cannot find module '@/lib/utils' or its corresponding type declarations.
12 replies
WWasp-lang
Created by senorioano on 10/10/2024 in #🙋questions
Error while compiling the project
[ 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
15 replies
WWasp-lang
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.

:x: --- [Error] Your wasp project failed to compile: -------------------------------

- SDK build failed with exit code: 2


:x: --- [Error] Compilation of wasp project failed: --------------------------------

1 errors found
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.

:x: --- [Error] Your wasp project failed to compile: -------------------------------

- SDK build failed with exit code: 2


:x: --- [Error] Compilation of wasp project failed: --------------------------------

1 errors found
10 replies