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

plugin-commonjs ver 28.0.2 peer dep issue. #1840

Open
houd1ni opened this issue Jan 31, 2025 · 0 comments
Open

plugin-commonjs ver 28.0.2 peer dep issue. #1840

houd1ni opened this issue Jan 31, 2025 · 0 comments

Comments

@houd1ni
Copy link

houd1ni commented Jan 31, 2025

Expected Behavior

npm installs all green.

Actual Behavior

1

npm WARN While resolving: @rollup/[email protected]
npm WARN Found: peer typescript@">=3.7.0" from @rollup/[email protected]
npm WARN node_modules/@rollup/plugin-typescript
npm WARN   dev @rollup/plugin-typescript@"^9.0.1" from the root project

2

npm warn Could not resolve dependency:
npm warn peerOptional rollup@"^1.20.0||^2.0.0||^3.0.0" from @rollup/[email protected]
npm warn node_modules/@rollup/plugin-replace/node_modules/@rollup/pluginutils
npm warn   @rollup/pluginutils@"^5.0.1" from @rollup/[email protected]
npm warn   node_modules/@rollup/plugin-replace
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/rollup
npm warn   peerOptional rollup@"^1.20.0||^2.0.0||^3.0.0" from @rollup/[email protected]
npm warn     @rollup/pluginutils@"^5.0.1" from @rollup/[email protected]
npm warn     node_modules/@rollup/plugin-replace

I guess to solve the second problem it is needed to update @rollup/plugin-replace to use the latest @rollup/pluginutils which is 4.x.x compatible.
And the first one comes in that repl only, maybe because I use typescript in my work project.

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

No branches or pull requests

1 participant