can not find "wasp/server/_types" module or declaration
any suggestion? this error won't effect dev, but I can't have the right type with action's params args, context.
kapa.ai•18d ago
Hi @luogao. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
It seems like you're having trouble with importing types from the
wasp/server
module. This could be due to a few reasons:
1. Incorrect import path: Make sure you're importing from the correct path. The correct import path should be wasp/server
and not wasp/server/_types
.
2. Wasp version: Ensure you're using the latest version of Wasp. You can check your Wasp version by running wasp version
in your terminal.
3. Wasp compiler: The Wasp compiler needs to compile the SDK for you to have all the wasp/*
packages. Try running wasp start
to start the compiler.
4. Wasp clean: If something broke in the .wasp
folder, you can try running wasp clean
to delete all .wasp
and node_modules
stuff, and then wasp start
to reinstall everything again.
If you're still having trouble, you might want to check out the Wasp documentation (https://wasp-lang.dev/docs/project/server-config#api-reference) for more information on how to use the server configuration in Wasp.
Sources:
- Discord support thread: Hey! Any ideas on some solutions to these errors? > Answers (https://discord.com/channels/686873244791210014/1215750573278629958)
- Docs > Project > Server Config > API Reference Part 1 (https://wasp-lang.dev/docs/project/server-config#api-reference)
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @luogao, 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?luogao•18d ago
fixed by using the latest version of Wasp, thanks!
MEE6•18d ago
Wohooo @luogao, you just became a Waspeteer level 1!
miho•16d ago
Nice!
2.7KMembers
View on DiscordWant results from more Discord servers?
More PostsDisable email loginIf I only want Google signup, is there a way to remove the email login? I tried commenting
```
emailDo I have a way to use useLazyQuery ?My app filters some data.
I need to be able to refetch whenever the user clicks on "search" with theWhere to see migration files?I have messed up one migration (because I had to delete my local code), and now I don't know where tFile upload size limitI'm trying to implement max file upload size to the s3 bucket. I've handled the front-end but I worrAuthis there a sample bypass to login the auth while in developmentQuick Start not working?I'm following this tutorial: https://wasp-lang.dev/docs/quick-start
After opening my terminal and rI cant see ubunbtu on my Linux sub system folderI just started with this programming stuff and i wanted to try my app with this new ai called magegpIs it possible to separate client and server wasp build?each time I update stuff on client, and want to push to netlify, I need to run wasp build, but it refly.io deployment errorI tried to deploy to fly.io, and I set DATABASE_URL, and I tested it can connect successfully with dfront end developers demand in job marketCan anyone please tell me about the demand of a beginner level front end developer in job market nowPassing Context for Dependency InjectionIs there a standard pattern for passing the context object for database interaction to functions?
WGetting Updates to the Open SaaS Template (not working?)I am following the guide in [Getting Started](https://docs.opensaas.sh/start/getting-started/), howeCant find app and blog in my folder but it says wasp already installed.Hi everyone, ive installed Wasp but i cant find where the app and blog folder is at.
It keeps says NsignupWhen defining action in main file If i dont want to use entity as i dont want to store in the db. Ca