You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Aspire to orchestrate several projects, two of which are in Node.js.
Here is a piece of code showing how I load the projects:
var hub = builder.AddNpmApp("Hub", "../../../Projects/HubV2");
var omniFront = builder.AddNpmApp("Omni", "../../../Projects/omni");
My issue is that the Hub project is using Node version 22, while the OmniFront project is using version 16.
I am unable to run both at the same time via Aspire.
I tried specifying the Node version in the package.json file under engines, and I also tried using the .nvmrc file to specify the version, but without success.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone,
I am using Aspire to orchestrate several projects, two of which are in Node.js.
Here is a piece of code showing how I load the projects:
My issue is that the Hub project is using Node version 22, while the OmniFront project is using version 16.
I am unable to run both at the same time via Aspire.
I tried specifying the Node version in the package.json file under engines, and I also tried using the .nvmrc file to specify the version, but without success.
Hub:
package.json
OmniFront:
package.json
Do you have any ideas on how to achieve this?
Beta Was this translation helpful? Give feedback.
All reactions