-
Notifications
You must be signed in to change notification settings - Fork 298
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
@clerk/backend
wrong peer deps
#4897
Comments
@clerk/express
/@clerk/backend
wrong peer deps@clerk/backend
wrong peer deps
Hi, thanks for the issue! I tried to reproduce your steps but didn't see the issue: ➜ pnpm init
Wrote to /Users/lejoe/code/playground/issue-4897/package.json
{
"name": "issue-4897",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
playground/issue-4897 is 📦 1.0.0 via ⬢ v20.11.1
➜ pnpm i @clerk/express
Packages: +90
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 90, reused 85, downloaded 5, added 90, done
node_modules/.pnpm/@[email protected][email protected]/node_modules/@clerk/shared: Running postinstall script, done in 37ms
dependencies:
+ @clerk/express 1.3.34
Done in 3.3s I use pnpm 9.15.4. Anyhow, the package in question correctly sets these peer dependencies as optional: javascript/packages/shared/package.json Lines 154 to 161 in 3a03836
So if you continue to run into this issue I'd recommend opening an issue with pnpm, one possible related issue I found is pnpm/pnpm#8142 |
@LekoArts thanks a lot. i'm gonna look at my version of pnpm. |
Preliminary Checks
I have reviewed the documentation: https://clerk.com/docs
I have searched for existing issues: https://github.com/clerk/javascript/issues
I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)
This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.
Reproduction
Publishable key
pk_test_123456789
Description
Package is intended to use in node environments, tho there's
react
as peer dependency which mess up with pnpm install when auto-install of peer deps is enabled (for good reason)Environment
The text was updated successfully, but these errors were encountered: