Waspello example

I am trying to run the waspello example but am getting a bunch of errors: [ Wasp ] auth/providers/types.ts(11,37): error TS2694: Namespace '"/Users/b2077/PycharmProjects/waspexample/waspello/.wasp/out/sdk/wasp/node_modules/.prisma/client/index".Prisma' has no exported member 'UserCreateInput'. [ Wasp ] auth/utils.ts(132,17): error TS2694: Namespace '"/Users/b2077/PycharmProjects/waspexample/waspello/.wasp/out/sdk/wasp/node_modules/.prisma/client/index".Prisma' has no exported member 'AuthWhereInput'. [ Wasp ] auth/utils.ts(193,27): error TS2339: Property 'PrismaClientKnownRequestError' does not exist on type 'typeof Prisma'. [ Wasp ] auth/utils.ts(193,62): error TS2339: Property 'code' does not exist on type 'unknown'. [ Wasp ] auth/utils.ts(199,27): error TS2339: Property 'PrismaClientValidationError' does not exist on type 'typeof Prisma'. [ Wasp ] auth/utils.ts(210,27): error TS2339: Property 'PrismaClientKnownRequestError' does not exist on type 'typeof Prisma'. [ Wasp ] auth/utils.ts(210,62): error TS2339: Property 'code' does not exist on type 'unknown'. [ Wasp ] auth/utils.ts(221,27): error TS2339: Property 'PrismaClientKnownRequestError' does not exist on type 'typeof Prisma'. ❌ --- [Error] Your wasp project failed to compile: ------------------------------- - SDK build failed with exit code: 2 any clue what is going wrong?
6 Replies
kapa.ai
kapa.ai2mo ago
Hi @BeReal. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Based on the errors you're encountering, it seems like there might be an issue with the version of Wasp you're using. One of the users in a Github issue (https://github.com/wasp-lang/wasp/issues/334) had a similar problem and was advised to update their Wasp version. You can do this by going to the get started section in the Wasp docs and running the installation process again. This should tell you how to update or overwrite your existing installation. If the problem persists after updating, it might be a more specific issue related to your project setup or the Waspello example itself. In that case, I would recommend opening an issue on the Wasp Github page for more targeted help. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @BeReal, 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?
BeReal
BeRealOP2mo ago
My wasp version is 0.14.2 @kapa.ai what is the latest version?
kapa.ai
kapa.ai2mo ago
Let me check the knowledge base for you. One moment! :books: ---------------------- The latest version of Wasp, as per the migration guide (https://wasp-lang.dev/docs/migrate-from-0-11-to-0-12), is 0.13.X. You can check your current version by running the command wasp version in your terminal. If you wish to install or switch to the latest version of Wasp, you can use the following command:
curl -sSL <https://get.wasp-lang.dev/installer.sh> | sh -s
curl -sSL <https://get.wasp-lang.dev/installer.sh> | sh -s
If you want a specific x.y.z version of Wasp, you can specify it like this:
curl -sSL <https://get.wasp-lang.dev/installer.sh> | sh -s -- -v x.y.z
curl -sSL <https://get.wasp-lang.dev/installer.sh> | sh -s -- -v x.y.z
You can check the list of valid versions, including the latest one, on the Wasp Github releases page (https://github.com/wasp-lang/wasp/releases). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @BeReal, 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?
BeReal
BeRealOP2mo ago
Is the waspello example expected to work with 0.14?
MEE6
MEE62mo ago
Wohooo @BeReal, you just became a Waspeteer level 1!
Filip
Filip2mo ago
Yes, Waspello should work with 0.14. I just tried it out and it works. How did you start the project, and which branch did you take it from? The branch main is not compatible with Wasp 0.14.x. The branch release is (that's the official one).
Want results from more Discord servers?
Add your server