W
Wasp-lang•3mo ago
Sven

help from kapa on error with shadcn

solved
4 Replies
kapa.ai
kapa.ai•3mo ago
Hi @Sven. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- The error message you're seeing indicates that there are issues with your tsconfig.json file and some missing type definitions. Here are some possible reasons and solutions: 1. Missing tsconfig.json file: Wasp generates a "dummy" tsconfig.json file and places it inside the directories with user code (i.e., src/{server,shared,client}). This happens during project creation. If this file is missing, it could cause the error you're seeing. You might want to check if this file exists and is correctly configured. If it's missing, you might need to regenerate it. source (https://github.com/wasp-lang/wasp/issues/939) 2. Incorrect tsconfig.json configuration: The error message suggests that the tsconfig.json file is trying to extend from a @tsconfig/node18/tsconfig.json file that doesn't exist. You might want to check if this file exists or if the path is correct. If not, you might need to adjust your tsconfig.json configuration. source (https://github.com/wasp-lang/wasp/issues/1430) 3. Missing type definitions: The error message also indicates that some type definitions for jest and vite are missing. You might need to install these type definitions using npm. For example, you can install jest's type definitions using npm install --save-dev @types/jest. 4. Incompatible versions: If you're using an older version of Wasp with a newer app, it could cause compatibility issues. Make sure you're using the latest version of Wasp. You can check your Wasp version by running wasp version. source (https://discord.com/channels/686873244791210014/1223304925627285574) If none of these solutions work, you might want to reach out to the Wasp community for further assistance. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Sven, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
miho
miho•3mo ago
@Sven please don't delete the original message so others from the community can benefit from the answers 🙂
Sven
SvenOP•3mo ago
Oh sorry it was just smth private to ask the kapa bot,
MEE6
MEE6•3mo ago
Wohooo @Sven, you just became a Waspeteer level 5!
Want results from more Discord servers?
Add your server