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
package.json resolutions entry breaks pnpm #12262
Comments
The directive was added purely to fix an issue on yarn where the wrong jQuery plugin versions were installed. I think that's why it's If pnpm doesn't crash, that's fine. It probably installs the proper versions like npm does. |
I'm not entirely sure if we still need that directive, so it's worth checking on yarn to see. |
See #10877 |
Ahh thanks. It causes pnpm initialization to abort.
If I remember correctly, For now I'm removing the entry from package.json so build works: |
https://github.com/NodeBB/NodeBB/blob/b6dbe1a6d68d9ea0fd9ee9681b2955a2efc2523c/install/package.json#L177C1-L179
It seems like
resolutions
is yarn only, and npm's equivalent isoverrides
?and I think the point of that entry is to make sure all dependencies have the same version of jquery, but I believe this is covered by just using "jquery", which would be more compatibile.
The text was updated successfully, but these errors were encountered: