I’m attempting to get Radicle 1.3.1 running using latest Lando (v3.21.0-alpha.10) on Windows 10 WSL2, PHP 8.2.15. – also have Docker Desktop installed from the Lando installation pkg, which I’ve since updated within the app.
I follow instructions from the Lando section at https://github.com/roots/radicle and after having run lando start and checking the site at https://radicle.lndo.site/ I get:
The Lando alpha version I’m using does come with the warning of
We recommend ONLY using this release to help with testing.
-So I install latest stable instead, v3.20.8, and after lando start it gives me the following error:
Let's get this party started! Starting app radicle...
ERROR ==> node version 20 is not supported
Where do I go from here?
My apologies in advance if I’m misunderstanding how this works or if there’s anything else I should be doing. I was using Vagrant and Virtualbox, but this approach seems a lot more sensible and faster.
I’ll have to follow up about the PHP 8.2 deprecation errors (just use 8.1 for now like the Lando config already had by default). For the Node issue, you can revert this change for now in the Lando config:
Kept latest stable Lando version, switched to node:18 and PHP8.1 as instructed.
New yarn build and lando start now gives me:
...
yarn install v1.22.19
[1/5] Validating package.json...
error radicle@: The engine "node" is incompatible with this module. Expected version ">=20.0.0". Got "18.19.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
ERROR ==>
Your app is starting up but we have already detected some things you may wish to investigate.
These only may be a problem.
■ One of your v3 build steps failed
This **MAY** prevent your app from working.
Check for errors above, fix them in your Landofile, and try again by running:
lando rebuild
■ Using an unsupported version of DOCKER ENGINE
You have version 25.0.2 but Lando wants something in the undefined range.
If you have purposefully installed an unsupported version and know what you are doing
you can probably ignore this warning. If not we recommend you use a supported version
as this ensures we can provide the best support and stability.
Pulling up the .site gives me:
Deprecated: is_file(): Passing null to parameter #1 ($filename) of type string is deprecated in /app/vendor/roots/acorn/src/Roots/Acorn/Bootloader.php on line 376
I know you said you’re on it, just wanted to pass on the additional details. Thanks again
Also tried "node": ">=18.0.0", reran yarn && yarn build and lando start. Also tried lando rebuild, if that makes a difference.
Now, only getting the Docker/Lando warning
■ Using an unsupported version of DOCKER ENGINE
You have version 25.0.2 but Lando wants something in the undefined range.
If you have purposefully installed an unsupported version and know what you are doing
you can probably ignore this warning. If not we recommend you use a supported version
as this ensures we can provide the best support and stability.
Still have the deprecated errors, but I can browse the site now. What a difference coming from Virtualbox. Blazing fast now – I’m excited!