SAFE-Stack / SAFE-template

dotnet CLI template for SAFE project
MIT License
280 stars 87 forks source link

Update package.json to allow node 19 #542

Closed johanvts closed 11 months ago

johanvts commented 1 year ago

To support node 19 (and 16 and 18).

theprash commented 1 year ago

Thanks @johanvts. I tested this by installing node 19 and running the template and I got this error:

npm ERR! notsup Not compatible with your version of node/npm: undefined
npm ERR! notsup Required: {"node":"~16 || ~18 || ~19","npm":"~8"}
npm ERR! notsup Actual:   {"npm":"9.2.0"}

Looks like we should also allow the npm 9 because it's installed by default with node 19. Could you make that change, please?

isaacabraham commented 1 year ago

Will close in a week - can review upgrading as part of v5.