W
Wasp•11mo ago
Tempest

Node version conflict between wasp and astro

As title, Wasp and astro has node dependency conflict. Any ideas? It seems like I have to degrade astro to fit the lower node version. Or I have to move blog parts to make it an individual project.
8 Replies
Vinny (@Wasp)
Vinny (@Wasp)•11mo ago
use NVM and then run nvm use 18 when working on Wasp we are upgrading the node requirements in Wasp in the new release (coming soon 👀 )
Vinny (@Wasp)
Vinny (@Wasp)•11mo ago
freeCodeCamp.org
Node Version Manager – NVM Install Guide
In this article, I'll explain how you can install NVM, or Node Version Manager, on Windows, Linux, and Mac. What is NVM? Node Version Manager (NVM), as the name implies, is a tool for managing Node versions on your device. Different projects on your device may be using different versions
Tempest
TempestOP•11mo ago
This a solution for dev. However I still have the version conflict in deployment. Looking forward to the update.
MEE6
MEE6•11mo ago
Wohooo @Tempest, you just became a Waspeteer level 1!
martinsos
martinsos•11mo ago
Can you tell us a bit more about the conflict in deployment? How are you deploying -> I am a bit surprised you have a conflict there, since Astro should be static pages (right @Vinny (@Wasp) ?), so no node should be needed.
Vinny (@Wasp)
Vinny (@Wasp)•11mo ago
true. I've never encountered this error How are you deploying Astro? can you share the error you get @Tempest ?
Tempest
TempestOP•11mo ago
NVM, I won't get the conflict after building the blog. It gets a node conflict error when I run "npm run dev". > [email protected] build
astro check && astro build
Node.js v18.12.0 is not supported by Astro! Please upgrade Node.js to a supported version: ">=18.14.1"
martinsos
martinsos•11mo ago
AH so it happens during development, got it! Yeah that makes sense, at that point astro si running via dev server. Update coming any moment though, so this will be thing of the past!

Did you find this page helpful?