Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CLI] Fix installation with yarn on node 10 #1058

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

LoicPoullain
Copy link
Member

@LoicPoullain LoicPoullain commented Apr 7, 2022

Issue

The creation of a new project (i.e. createapp) on Node 10 with yarn is failing: https://github.com/FoalTS/foal/actions/runs/2107640821.

Underlying reason: a sub-dependency of a direct dependency requires at least Node v12.

Issue: v2 of Foal still officially supports Node 10 (which is not maintained anymore), so the unique option here is not to check this value in the package.json (which is not great but ok for the situation).

For future major versions of Foal: the minimum version of NodeJS required should always be recent (at least v14 for Foal v3).

Solution

Do no check the engine in yarn installation .

Similar commit: 91414f1

@LoicPoullain LoicPoullain merged commit a8f939b into v2-8-2 Apr 7, 2022
@LoicPoullain LoicPoullain deleted the fix-yarn-install-node-10 branch April 7, 2022 16:49
@LoicPoullain LoicPoullain mentioned this pull request Apr 7, 2022
2 tasks
@LoicPoullain LoicPoullain added this to Work In Progress in Issue tracking via automation Apr 7, 2022
@LoicPoullain LoicPoullain moved this from Work In Progress to Done / Closed This Release in Issue tracking Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Issue tracking
  
Done / Closed This Release
Development

Successfully merging this pull request may close these issues.

None yet

1 participant