Is the version of react locked in? I can see it's 17+ whereas the latest as we all know is 18+. I tried to set it to 18 with dependency rule in
.wasp
.wasp
file like so
dependencies: [ ("react", "18.2.0") ]
dependencies: [ ("react", "18.2.0") ]
and got an error:
❌ --- [Error] Your wasp project failed to compile: -------------------------------- Error: Dependency conflict for user dependency (react, 18.2.0): Version must be set to the exactly the same version as the one wasp is using: ^17.0.2❌ --- [Error] Recompilation on file change failed.: ------------------------------1 errors found
❌ --- [Error] Your wasp project failed to compile: -------------------------------- Error: Dependency conflict for user dependency (react, 18.2.0): Version must be set to the exactly the same version as the one wasp is using: ^17.0.2❌ --- [Error] Recompilation on file change failed.: ------------------------------1 errors found
Recent Announcements
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.