Type error: Undefined identifier: Dummy (On Wasp Start)
Hello im trying to install latest version and get this error?
2 Replies
Hi @Nurium. 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 suggests that the
Dummy
identifier is not recognized. This identifier is typically used in the context of setting up an email sender in Wasp, specifically for testing purposes where the Dummy
provider logs the emails to the console instead of sending them.
Here's an example of how it's used in the main.wasp
file:
If you're seeing an error related to this, it could be due to a few reasons:
1. The Dummy
provider is not correctly defined or imported in your main.wasp
file.
2. There might be a typo or syntax error in your main.wasp
file.
3. You're using the Dummy
identifier in a context where it's not expected.
Without more specific information about your code and the exact error message, it's hard to provide a more precise answer. I would recommend checking your main.wasp
file and ensuring that the Dummy
provider is correctly set up as shown in the example above.
For more information, you can refer to the Wasp documentation on setting up an email sender (https://wasp-lang.dev/docs/auth/email#5-set-up-an-email-sender).
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Nurium, 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?At which point exactly do you get this error? I don't think this is during installation, right? But instead while running an app? Can you share more details -> when did you create this Wasp app and how (open-saas, mage, manually), are you migrating it from one wasp version to another, ...