Skip to content

chore: upgrade to Yarn 4.14.0 and set enableScripts to true to fix build issue in AWS CodeBuild#6989

Merged
craigzour merged 1 commit into
mainfrom
chore/fix-build-due-to-yarn-latest-version
Apr 16, 2026
Merged

chore: upgrade to Yarn 4.14.0 and set enableScripts to true to fix build issue in AWS CodeBuild#6989
craigzour merged 1 commit into
mainfrom
chore/fix-build-due-to-yarn-latest-version

Conversation

@craigzour
Copy link
Copy Markdown
Contributor

@craigzour craigzour commented Apr 16, 2026

Summary | Résumé

  • Upgrades Yarn to its latest 4.14.0 version (which is the default version installed in the builder image from AWS)
  • Fixes issue with AWS CodeBuild due to recent Yarn release which makes package scripts NOT RUN by default (Makes enableScripts: false the default yarnpkg/berry#7089) which resulted in us getting the following error while building the web app
#11 69.15 Type error: Module '"@prisma/client"' has no exported member 'PrismaClient'.
--
#11 69.15
#11 69.15 > 1 \| import { PrismaClient } from "@prisma/client";

@craigzour craigzour self-assigned this Apr 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

@craigzour craigzour merged commit 0d79395 into main Apr 16, 2026
15 of 17 checks passed
@craigzour craigzour deleted the chore/fix-build-due-to-yarn-latest-version branch April 16, 2026 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants