- Issue created by @sebastian hagens
- ๐จ๐ฆCanada ambient.impact Toronto
It looks like you're using Yarn 1.x which is far too old and did not yet have the Plug'n'Play API/install strategy; you need at least Yarn 3.x or newer. I should add that to the readme when I get a chance.
- ๐ณ๐ฑNetherlands sebastian hagens Breda, Netherlands
Check! I'm not familiar with Yarn as wel, but I found out that
corepack prepare yarn@stable --activate
upgraded to 4.x and nowyarn install
worked.root@drplrefresh_drupal:/var/www# corepack prepare yarn@stable --activate Preparing yarn@stable for immediate activation... root@drplrefresh_drupal:/var/www# yarn --version 4.1.0 root@drplrefresh_drupal:/var/www# yarn install โค YN0000: ยท Yarn 4.1.0 โค YN0000: โ Resolution step โค YN0085: โ + @hotwired/turbo@npm:8.0.3, and 678 more. โค YN0085: โ - www@workspace:. โค YN0000: โ Completed in 5s 485ms โค YN0000: โ Fetch step โค YN0013: โ 678 packages were added to the project (+ 61.54 MiB). โค YN0000: โ Completed in 4s 415ms โค YN0000: โ Link step โค YN0000: โ ESM support for PnP uses the experimental loader API and is therefore experimental โค YN0007: โ drupal-refreshless-turbo@workspace:web/modules/contrib/refreshless/modules/refreshless_turbo must be built because it never has been before or the last one failed โค YN0000: โ Completed in 2s 52ms โค YN0000: ยท Done with warnings in 12s 55ms
- ๐จ๐ฆCanada ambient.impact Toronto
Yup, that output looks correct to me, so you should have the Turbo library now sitting in the correct location. I actually had to do a similar thing to get modern Yarn working in GitLab CI for the project (see the .gitlab-ci.yml). I'll update the readme tomorrow to add this information.
-
Ambient.Impact โ
committed 238011be on 2.x
Issue #3423504: Added readme requirements, inc. minimum Yarn version.
-
Ambient.Impact โ
committed 238011be on 2.x
- Status changed to Fixed
9 months ago 7:13pm 24 February 2024 - ๐จ๐ฆCanada ambient.impact Toronto
I've added clearer requirements to the readme. Marking as fixed.
Automatically closed - issue fixed for 2 weeks with no activity.