W
Wasp-lang3mo ago
vruno

wasp db migrate-dev could not resolve [email protected]

I'm using MacOS and I'm tryng to install OpenSaaS by following the guide but when I try to run "wasp db migrate-dev"(both node 18 and 20) I get the following error: ❯ wasp db migrate-dev 🐝 --- Compiling wasp project... -------------------------------------------------- [ Wasp ] Starting npm install [ Wasp ] Still installing npm dependencies! [ Wasp ] Installation going great - we'll get there soon! [ Wasp ] The installation is taking a while, but we'll get there! [ Wasp ] Yup, still not done installing. [ Wasp ] We're getting closer and closer, everything will be installed soon! [ Wasp ] Still waiting for the installation to finish? You should! We got too far to give up now! [ Wasp !] npm error code ERESOLVE [ Wasp !] npm error ERESOLVE could not resolve [ Wasp !] npm error [ Wasp !] npm error While resolving: [email protected] [ Wasp !] npm error Found: [email protected] [ Wasp !] npm error node_modules/zod [ Wasp !] npm error zod@"3.22.4" from the root project [ Wasp !] npm error [ Wasp !] npm error Could not resolve dependency: [ Wasp !] npm error peerOptional zod@"^3.23.8" from [email protected] [ Wasp !] npm error node_modules/openai [ Wasp !] npm error openai@"^4.52.1" from the root project [ Wasp !] npm error [ Wasp !] npm error Conflicting peer dependency: [email protected] [ Wasp !] npm error node_modules/zod [ Wasp !] npm error peerOptional zod@"^3.23.8" from [email protected] [ Wasp !] npm error node_modules/openai [ Wasp !] npm error openai@"^4.52.1" from the root project [ Wasp !] npm error [ Wasp !] npm error Fix the upstream dependency conflict, or retry [ Wasp !] npm error this command with --force or --legacy-peer-deps [ Wasp !] npm error to accept an incorrect (and potentially broken) dependency resolution.
3 Replies
kapa.ai
kapa.ai3mo ago
Hi @vruno. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- Hmm, I don't know enough to give you a confident answer yet. The knowledge sources provided do not contain information about resolving the specific error you're encountering with wasp db migrate-dev and the [email protected] dependency. However, the error message suggests a conflict between the versions of zod and openai dependencies. You might want to try updating the zod package to ^3.23.8 as suggested by the error message, or run the command with --force or --legacy-peer-deps to bypass the conflict. For more detailed assistance, I recommend referring to the Wasp documentation (https://wasp-lang.dev/docs) or reaching out to the Wasp community on their Discord server (https://discord.com/invite/rzdnErX). ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @vruno, 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?
vruno
vruno3mo ago
In the meantime I updated the package.json to use zod@"^3.23.8" and openai@"^4.55.1" and completed the migration successfully
miho
miho3mo ago
Thank you for the heads up, we should update the template!
Want results from more Discord servers?
Add your server