Prisma version error (migration v0.14.0 to v0.15)

Trying to run any commands like: wasp db start etc. and getting ❌ --- [Error] Your wasp project failed to compile: ------------------------------- - Wasp requires package "prisma" with version "5.19.1" in "devDependencies" in package.json.. In package.json I have the right version (5.19.1).
No description
No description
No description
2 Replies
kapa.ai
kapa.ai2mo ago
Hi @flap27. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- This issue seems to be related to a mismatch between the Prisma version specified in your project's package.json and the version Wasp is expecting. Let's try a few steps to resolve this: 1. First, try running wasp clean and then wasp start again. This has resolved similar Prisma-related issues in the past, as mentioned in a Discord support thread (https://discord.com/channels/686873244791210014/1204021576979324949). 2. If that doesn't work, double-check your package.json to ensure that Prisma 5.19.1 is listed under "devDependencies" and not just "dependencies". 3. Sometimes, Prisma versions can be affected by package.json files in parent directories. Make sure there isn't a package.json file with a different Prisma version in any parent directory of your project, as discussed in this GitHub issue (https://github.com/wasp-lang/wasp/issues/787). 4. If the problem persists, try deleting your node_modules folder and package-lock.json file, then run npm install again to ensure all dependencies are correctly installed. 5. Lastly, verify that the Wasp version in your main.wasp file matches the installed Wasp CLI version. You can check the installed version with wasp version. If none of these steps resolve the issue, it might be worth opening an issue on the Wasp GitHub repository, as this could be a bug related to how Wasp is detecting or managing Prisma versions. ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @flap27, 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
miho2mo ago
Did you save the package.json file?
Want results from more Discord servers?
Add your server