Hi all,
After working on different projects with Sage 9 without any issues, I face now this problem:
Recently I init a new Trellis project via trellis-cli. It created a new vagrant based on pjp8 (few month ago, was php7).
I installed Sage 9, but faced many warnings and deprecated messages. I think it may be caused by Sage 9 not updated to work with php8.
So I tried to use Sage 10, successfully on my local Vagrant.
I did that this way, succesfully:
composer create-project roots/sage site/web/app/themes/my-theme-name dev-master
On locally yarn build
I had to switch my Node version because of this error :
error sage@: The engine "node" is incompatible with this module. Expected
version ">=16.0.0". Got "14.5.0"
After that, everything is ok locally.
But when I execute trellis deploy production
, I face the same error.
Is there a way to tell Trellis to download and use Node 16 by default?
Am I doing something wrong?
Thanks a lot