Skip to content

Conversation

@soheilnikroo
Copy link
Contributor

Since we use pnpm to host our Strapi with MySQL, and we face an error on loading the mysql2 package

What does it do?

Describe the technical changes you did.

Why is it needed?

Describe the issue you are solving.

Related issue(s)/PR(s)

Let us know if this is related to any issue/pull request

Since we use pnpm to host our Strapi with MySQL, and we face an error on loading the mysql2 package
@vercel
Copy link

vercel bot commented Jun 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 9, 2025 11:16am

@pwizla
Copy link
Collaborator

pwizla commented Jun 10, 2025

Thanks for the suggestion, @soheilnikroo.

I'm also wondering about yarn, would it work too?

As you can see, we actually don't provide pnpm instructions in the docs, though this is something we are considering. FYI we've been holding off from recommending pnpm since it's not fully compatible with Strapi Cloud yet, but it's a WIP.

@pwizla pwizla force-pushed the main branch 2 times, most recently from 25723df to 63466f0 Compare June 27, 2025 15:32
@pwizla pwizla self-assigned this Aug 13, 2025
@pwizla pwizla added the flag: merge pending release Pending Strapi Release label Aug 13, 2025
@github-actions github-actions bot added the contribution PRs that are part of the Documentation Contribution Program label Sep 8, 2025
@pwizla pwizla removed flag: merge pending release Pending Strapi Release contribution PRs that are part of the Documentation Contribution Program labels Dec 17, 2025
@pwizla pwizla merged commit bd4debb into strapi:main Dec 17, 2025
10 of 11 checks passed
@pwizla pwizla changed the title sugguest using npm for package manager Suggest using NPM for package manager when deploying to Kubernetes Dec 17, 2025
@pwizla pwizla added this to the 6.14.0 milestone Dec 17, 2025
pwizla pushed a commit that referenced this pull request Dec 17, 2025
Since we use pnpm to host our Strapi with MySQL, and we face an error on loading the mysql2 package
pwizla added a commit that referenced this pull request Dec 17, 2025
Since we use pnpm to host our Strapi with MySQL, and we face an error on loading the mysql2 package

Co-authored-by: Soheil Nikroo <62501144+soheilnikroo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants